.profile-page {
    max-width: 780px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.profile-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.profile-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.profile-cover {
    height: 140px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
}

.profile-header {
    text-align: center;
    padding: 0 30px 24px;
    margin-top: -60px;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin: 0 auto 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-name {
    color: var(--navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-role-badge {
    display: inline-block;
    background: var(--gold-pale);
    color: var(--navy);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.profile-body {
    padding: 0 30px 30px;
}

.profile-section {
    margin-bottom: 24px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-body .section-title {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cream-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-body .section-title i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.profile-bio:empty {
    color: #aaa;
    font-style: italic;
}

.profile-bio:empty::before {
    content: "لا توجد سيرة ذاتية.";
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 0.78rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    color: var(--navy);
}

.info-value .fa-star,
.info-value .fa-star-half-alt {
    color: var(--gold);
}

.info-value .fa-star.empty {
    color: var(--border);
}

.rate-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.availability-badge.available {
    background: #e6f7ee;
    color: var(--success);
}

.availability-badge.unavailable {
    background: #f8e6e6;
    color: var(--error);
}

.availability-badge i {
    font-size: 0.6rem;
}

.phone-private {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.error-msg {
    text-align: center;
    color: var(--error);
    font-size: 1rem;
    padding: 60px 20px;
}

.avail-grid-table thead tr,
.avail-grid-table tr:first-child {
    position: sticky;
    top: -2px;
    z-index: 5;
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        padding: 0 16px 20px;
    }

    .profile-body {
        padding: 0 16px 20px;
    }
}