/* =================================================================
   DESIGN PAGE AUTEUR (SÉCURISÉ & ISOLÉ)
   Ce code ne s'applique QU'À LA PAGE AUTEUR (body.author)
   ================================================================= */

/* --- 1. HEADER UNIFORME (Beige Rose Poudré) --- */
body.author .c27-main-header .header-skin {
    background: rgb(255, 248, 244) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}
body.author .c27-main-header.header-scroll .header-skin {
    background: rgb(255, 248, 244) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
}

/* --- 2. LE FOND & STRUCTURE --- */
body.author .user-profile-cover {
    background: linear-gradient(180deg, #fff0f5 0%, #ffffff 100%) !important;
    padding: 50px 0 0 0 !important;
    border: none !important;
    margin-bottom: 30px !important;
}

/* Transparence des blocs internes */
body.author .user-profile-cover .main-info-desktop,
body.author .user-profile-cover .profile-header,
body.author .user-profile-cover .container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- 3. L'AVATAR (Style AllezGo Rouge) --- */
body.author .profile-avatar {
    border: 4px solid #ffffff !important;
    box-shadow: 0 0 0 3px #f04c58, 0 10px 25px rgba(240, 76, 88, 0.25) !important;
    transition: all 0.3s ease;
}
body.author .profile-avatar:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 0 0 3px #FFBC00, 0 15px 30px rgba(255, 188, 0, 0.3) !important;
}

/* --- 4. NOM & BOUTON MODIFIER --- */
body.author .profile-name h1 {
    color: #333 !important;
    font-weight: 900 !important;
    margin-top: 20px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.author .edit-listing {
    background-color: #fff !important;
    color: #f04c58 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease;
}

/* --- 5. STATS (Cartes Blanches avec bordure rose pâle) --- */
body.author .listing-main-buttons ul li.price-or-date {
    background: #ffffff !important;
    padding: 12px 25px !important;
    border-radius: 18px !important;
    border: 1px solid #ffe0e6 !important;
    box-shadow: 0 8px 20px rgba(240, 76, 88, 0.06) !important;
    display: inline-flex !important;
    flex-direction: column !important; 
    justify-content: center !important;
    min-height: 65px !important;
    transition: transform 0.3s ease;
}
body.author .listing-main-buttons ul li.price-or-date:hover {
    transform: translateY(-4px);
    border-color: #f04c58 !important;
}

/* --- 6. LE MENU ONGLETS & BARRE DÉGRADÉE --- */
body.author .profile-menu ul {
    display: flex !important;
    gap: 30px !important;
    scrollbar-width: none !important;
}
body.author .profile-menu ul::-webkit-scrollbar { display: none; }

body.author .profile-menu li a {
    background: transparent !important;
    color: #777 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 15px 0 !important;
    position: relative !important;
    transition: color 0.3s ease;
}

/* La Barre Dégradée sous l'actif */
body.author .profile-menu li.active a::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F24286 0%, #FFBC00 100%) !important;
}

body.author .profile-menu li a:hover { color: #f04c58 !important; }

/* --- 7. RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    body.author .main-info-desktop .col-md-6,
    body.author .profile-name h1,
    body.author .listing-main-buttons ul,
    body.author .profile-menu ul { justify-content: center !important; text-align: center !important; }
    body.author .listing-main-buttons ul li.price-or-date { width: 48% !important; margin: 0 !important; }
}