/* Classes utilitaires communes */

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 80px 0;
}

/* Cards */
.card-custom {
    border-radius: 8px;
    transition: transform 0.2s;
    background: rgba(255, 255, 255, 0.95);
    border: none;
}

.card-custom:hover {
    transform: translateY(-2px);
}

.card-header-custom {
    color: white;
    border: none;
    padding: 20px 30px;
}

.card-body-custom {
    padding: 30px;
}

/* Forms */
.form-control-custom {
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.form-control-custom:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn-custom {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-black {
    background: #000000;
    border: none;
    color: white;
}

.btn-black:hover {
    background: #333333;
    color: white;
}

.btn-red {
    background: #c62828;
    border: none;
    color: white;
}

.btn-red:hover {
    background: #d32f2f;
    color: white;
}

/* Intro wrap */
.intro-wrap {
    margin-bottom: 40px;
    text-align: center;
}

.intro-wrap h1 {
    color: #fff;
    margin-bottom: 15px;
}

.intro-wrap p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Alerts with icons */
.alert-icon {
    padding-left: 45px;
    position: relative;
}

.alert-icon::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* Tables */
.table-custom {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table-custom thead {
    background: #f8f9fa;
}

.table-custom th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Badge customs */
.badge-custom {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

/* Section spacing */
.section-padding {
    padding: 60px 0;
}

/* Shadow utilities */
.shadow-sm-custom {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-custom {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.shadow-lg-custom {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .card-body-custom {
        padding: 20px;
    }
    
    .intro-wrap h1 {
        font-size: 28px;
    }
    
    .intro-wrap p {
        font-size: 16px;
    }
}
/* ===================================
   NOUVELLES CLASSES POUR REMPLACER LES STYLES INLINE
   =================================== */

/* Liens noirs */
.link-black {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
}

.link-black:hover {
    color: #333333;
    text-decoration: underline;
}

/* Liens gris */
.link-muted {
    color: #666;
    text-decoration: none;
}

.link-muted:hover {
    color: #999;
}

/* Boîtes d'information */
.info-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.info-box-light {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Texte personnalisé */
.text-custom-dark {
    color: #333;
    font-size: 14px;
}

.text-custom-muted {
    color: #666;
    font-size: 14px;
}

.text-small {
    font-size: 13px;
}

/* Badges de couleur */
.badge-info-custom {
    background: #17a2b8;
    color: white;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
}

.badge-danger-custom {
    background: #d32f2f;
    color: white;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
}

.badge-success-custom {
    background: #4caf50;
    color: white;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Headers de cartes de couleur */
.card-header-success {
    background: #4caf50;
    color: white;
    border: none;
    padding: 20px 30px;
}

.card-header-danger {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 20px 30px;
}

.card-header-black {
    background: #000000;
    color: white;
    border: none;
    padding: 20px 30px;
}

/* Tables avec header gris */
.table-header-gray {
    background: #f5f5f5;
}

/* Zone de danger */
.danger-zone {
    border: 2px solid #d32f2f;
    border-radius: 5px;
    padding: 20px;
    background: #ffebee;
}

.danger-zone h6 {
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Inputs désactivés */
.input-disabled {
    background: #e9ecef;
    pointer-events: none;
}

/* Séparateur "OU" */
.separator-or {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.separator-or::before,
.separator-or::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.separator-or span {
    padding: 0 10px;
    color: #666;
    font-size: 14px;
}

/* Bouton Google OAuth */
.btn-google {
    background: #fff !important;
    border: 2px solid #ddd !important;
    color: #444 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
}

.btn-google:hover {
    background: #f8f9fa !important;
    border-color: #ccc !important;
    color: #333 !important;
    text-decoration: none;
}

.btn-google svg {
    margin-right: 12px;
    flex-shrink: 0;
}

/* Bouton Facebook OAuth */
.btn-facebook {
    background: #1877F2 !important;
    border: 2px solid #1877F2 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
}

.btn-facebook:hover {
    background: #166FE5 !important;
    border-color: #166FE5 !important;
    color: #fff !important;
    text-decoration: none;
}

.btn-facebook svg {
    margin-right: 12px;
    flex-shrink: 0;
}

/* Bouton Microsoft OAuth */
.btn-microsoft {
    background: #fff !important;
    border: 2px solid #8c8c8c !important;
    color: #5e5e5e !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
}

.btn-microsoft:hover {
    background: #f3f3f3 !important;
    border-color: #5e5e5e !important;
    color: #2f2f2f !important;
    text-decoration: none;
}

.btn-microsoft svg {
    margin-right: 12px;
    flex-shrink: 0;
}

/* Dropdown exclusions (pour les tirages) */
.exclusion-toggle {
    width: 100%;
    text-align: left;
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.exclusion-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    z-index: 1000;
    margin-top: 2px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.exclusion-dropdown.show {
    display: block;
}

.exclusion-checkbox {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: #333;
}

.exclusion-checkbox input[type="checkbox"] {
    cursor: pointer;
    margin-right: 8px;
}

/* Countdown (pour result.php) */
.countdown {
    font-weight: 700;
    color: #c62828;
    font-size: 18px;
}

/* Text avec couleurs spécifiques */
.text-red-custom {
    color: #c62828;
}

.text-red-dark {
    color: #d32f2f;
}

.text-warning-custom {
    color: #856404;
}

/* Espacement ligne */
.line-height-relaxed {
    line-height: 1.8;
}

/* Background image pour hero */
.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Boutons de tailles spéciales */
.btn-lg-block {
    font-size: 16px;
    padding: 14px 30px;
    width: 100%;
}

/* Animation hover carte */
.card-hover-effect {
    transition: all 0.3s;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Margin bottom custom */
.mb-custom-20 {
    margin-bottom: 20px;
}

.mb-custom-30 {
    margin-bottom: 30px;
}

/* Padding custom */
.p-custom-20 {
    padding: 20px;
}

.p-custom-30 {
    padding: 30px;
}

/* Bordures */
.border-gray {
    border: 1px solid #ddd;
}

.border-danger-custom {
    border: 2px solid #d32f2f;
}

/* Radius */
.radius-5 {
    border-radius: 5px;
}

.radius-8 {
    border-radius: 8px;
}

/* Opacity */
.opacity-90 {
    opacity: 0.9;
}

.opacity-95 {
    opacity: 0.95;
}

/* Responsive text */
@media (max-width: 576px) {
    .text-small {
        font-size: 12px;
    }
    
    .btn-custom {
        padding: 10px 20px;
        font-size: 14px;
    }
}