/* EazyGo — دعوة الأصدقاء في الملف الشخصي */
.profile-referral-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 55%, #fff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.5rem;
}

.profile-referral-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-referral-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.profile-referral-card__head h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: #0f172a;
}

.profile-referral-card__desc {
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.5;
}

.profile-referral-code-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px dashed #93c5fd;
    border-radius: 12px;
    margin-bottom: 12px;
}

.profile-referral-code-box__label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.profile-referral-code-box__code {
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1d4ed8;
    flex: 1;
    min-width: 120px;
}

.profile-referral-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.profile-referral-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.profile-referral-btn--share {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.profile-referral-btn--copy {
    background: #fff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.profile-referral-btn:hover {
    transform: translateY(-1px);
}

.profile-referral-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.profile-referral-stat {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.profile-referral-stat strong {
    display: block;
    font-size: 1.25rem;
    color: #0f172a;
    line-height: 1.2;
}

.profile-referral-stat span {
    font-size: 0.72rem;
    color: #64748b;
}

.profile-referral-hint {
    margin: 0;
    font-size: 0.8rem;
    color: #15803d;
    background: #dcfce7;
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 1.45;
}

.profile-referral-link-preview {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #94a3b8;
    word-break: break-all;
}

.register-referral-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #64748b;
}

.optional-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}
