/* ═══════════════════════════════════════════════════
   ORAVOX PROFILE — Styles
   Compatible Kadence Theme
═══════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────── */
.oravox-profile-wrap {
    max-width: 860px;
    margin: 0 auto 40px;
    font-family: inherit;
    color: inherit;
}

/* ── Login message ───────────────────────────────── */
.oravox-profile-login-msg {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

/* ── Header ──────────────────────────────────────── */
.oravox-profile-header {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    margin-bottom: 28px;
    background: #fff;
}

.oravox-profile-banner {
    height: 110px;
    background: linear-gradient(135deg, #cc9933 0%, #4a2424f2 50%, #cc9933 100% 100%);
}

.oravox-profile-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0 28px 24px;
    flex-wrap: wrap;
}

/* ── Avatar ──────────────────────────────────────── */
.oravox-avatar-wrap {
    margin-top: -36px;
    flex-shrink: 0;
}

.oravox-avatar-wrap img.oravox-avatar,
.oravox-avatar-wrap img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    display: block;
}

/* ── Infos texte ─────────────────────────────────── */
.oravox-profile-details {
    flex: 1;
    padding-top: 12px;
}

.oravox-profile-name {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #1a1a1a;
}

.oravox-profile-email,
.oravox-profile-birth {
    margin: 3px 0 !important;
    font-size: 0.9rem;
    color: #555;
}

.oravox-no-birth {
    color: #aaa;
    font-style: italic;
}

/* ── Actions (logout) ────────────────────────────── */
.oravox-profile-actions {
    padding-top: 14px;
    margin-left: auto;
}

.oravox-btn-logout {
    display: inline-block;
    padding: 8px 18px;
    background: transparent;
    border: 2px solid #4a2424f2;
    color: #4a2424f2 !important;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.oravox-btn-logout:hover {
    background: #4a2424f2;
    color: #fff !important;
}

/* ── Onglets nav ─────────────────────────────────── */
.oravox-tabs-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.oravox-tabs-nav {
    display: flex;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid #f0f0f0;
    overflow-x: auto;
    scrollbar-width: none;
}

.oravox-tabs-nav::-webkit-scrollbar {
    display: none;
}

.oravox-tab-item {
    padding: 14px 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #777;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.oravox-tab-item:hover {
    color: #cc9933;
}

.oravox-tab-item.active {
    color: #cc9933;
    border-bottom-color: #cc9933;
}

/* ── Onglets contenu ─────────────────────────────── */
.oravox-tabs-content {
    padding: 24px;
    min-height: 160px;
}

.oravox-tab-panel {
    display: none;
}

.oravox-tab-panel.active {
    display: block;
}

.oravox-tab-empty {
    color: #aaa;
    font-style: italic;
    text-align: center;
    padding: 30px 0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 600px) {
    .oravox-profile-info {
        padding: 0 16px 18px;
        gap: 12px;
    }
    .oravox-profile-actions {
        width: 100%;
        margin-left: 0;
        padding-top: 4px;
    }
    .oravox-btn-logout {
        width: 100%;
        text-align: center;
    }
    .oravox-tab-item {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    .oravox-tabs-content {
        padding: 16px;
    }
}
