/* =========================================================
   PAGE ONBOARDING (Choix du Profil)
   ========================================================= */

/* Conteneur principal - la carte blanche */
.bgc-onboarding {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 32px;  
    max-width: 900px;  
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 4px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.bgc-onboarding h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 32px;
}

.bgc-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 22px;
}

/* Style de base */
.bgc-role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px 24px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease-in-out;
    height: 100%;
    box-sizing: border-box;
    border-top-width: 4px;
}

.bgc-role-card .bgc-role-icon {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px;
    transition: transform 0.2s;
}

/* Icône (Dashicon) - Reset complet pour éviter les conflits */
.bgc-role-card .dashicons {
    font-family: "Dashicons" !important;
    font-size: 32px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 1 !important;
    display: inline-block !important;
    text-decoration: none !important;
    position: relative !important;
    top: auto !important; left: auto !important;
}

.bgc-role-card .bgc-role-title {
    font-size: 18px; font-weight: 700; color: #1F2937; margin-bottom: 8px;
}
.bgc-role-card .bgc-role-desc {
    font-size: 14px; color: #6B7280; line-height: 1.5;
}

.bgc-role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.bgc-role-card:hover .bgc-role-icon { transform: scale(1.1); }


/* --- COULEURS (Sélecteurs renforcés) --- */

/* 1. PUBLISHER (Violet) */
a.bgc-role-card.publisher { border-top-color: #A855F7 !important; }
a.bgc-role-card.publisher .bgc-role-icon { background-color: #FAF5FF !important; color: #A855F7 !important; }
a.bgc-role-card.publisher .dashicons { color: #A855F7 !important; } 
a.bgc-role-card.publisher:hover { border-color: #A855F7 !important; background-color: #faf5ff !important; }
a.bgc-role-card.publisher:hover .bgc-role-title { color: #7E22CE !important; }

/* 2. RETAILER (Vert) */
a.bgc-role-card.retailer { border-top-color: #22C55E !important; }
a.bgc-role-card.retailer .bgc-role-icon { background-color: #F0FDF4 !important; color: #22C55E !important; }
a.bgc-role-card.retailer .dashicons { color: #22C55E !important; }
a.bgc-role-card.retailer:hover { border-color: #22C55E !important; background-color: #ecfdf5 !important; }
a.bgc-role-card.retailer:hover .bgc-role-title { color: #15803D !important; }

/* 3. GAMER (Orange) - C'est ici qu'on force */
a.bgc-role-card.gamer,
a.bgc-role-card.customer { 
    border-top-color: #F97316 !important; 
}
a.bgc-role-card.gamer .bgc-role-icon,
a.bgc-role-card.customer .bgc-role-icon { 
    background-color: #FFF7ED !important; 
    color: #F97316 !important;
}
a.bgc-role-card.gamer .dashicons,
a.bgc-role-card.customer .dashicons { 
    color: #F97316 !important; 
}
a.bgc-role-card.gamer:hover,
a.bgc-role-card.customer:hover { 
    border-color: #F97316 !important; 
    background-color: #fff7ed !important;
}
a.bgc-role-card.gamer:hover .bgc-role-title,
a.bgc-role-card.customer:hover .bgc-role-title { 
    color: #C2410C !important; 
}


/* Liens rapides */
.bgc-quicklinks { margin-top: 24px; border-top: 1px solid #E5E7EB; padding-top: 16px; }
.bgc-quicklinks h3 { font-size: 16px; font-weight: 600; color: #374151; margin-bottom: 12px; }
.bgc-quicklinks ul { list-style: none; margin: 0; padding: 0; }
.bgc-quicklinks li { margin: 6px 0; }
.bgc-quicklinks li a { text-decoration: none; color: #3B82F6; }