/**
 * Styles complémentaires pour l'app adhérent SWORT
 * La majorité du style est géré par Tailwind CSS
 */

/* Styles spécifiques pour les inputs de taille */
.swort-input-taille {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.swort-input-taille:hover {
    border-color: #9ca3af !important;
}

.swort-input-taille:focus {
    outline: none !important;
    border-color: #B544D6 !important;
    box-shadow: 0 0 0 3px rgba(181, 68, 214, 0.1) !important;
}

.swort-input-taille::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

.swort-input-taille:-webkit-autofill,
.swort-input-taille:-webkit-autofill:hover,
.swort-input-taille:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #1f2937 !important;
    border-color: #d1d5db !important;
}

/* Styles pour le select de taille */
.swort-select-taille {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231f2937' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
}

.swort-select-taille:hover {
    border-color: #9ca3af !important;
}

.swort-select-taille:focus {
    outline: none !important;
    border-color: #B544D6 !important;
    box-shadow: 0 0 0 3px rgba(181, 68, 214, 0.1) !important;
}

.swort-select-taille option {
    padding: 0.5rem !important;
}

/* Bouton Voir ma licence - Force le texte en blanc */
.swort-btn-licence,
.swort-btn-licence span,
.swort-btn-licence i {
    color: #ffffff !important;
}

/* Styles pour la page de login */
body.page-adherent-login {
    margin: 0 !important;
    padding: 0 !important;
}

/* Masquer le header WordPress si présent */
body.page-adherent-login header:not(.swort-header),
body.page-adherent-login .site-header,
body.page-adherent-login #masthead {
    display: none !important;
}

body.page-adherent-login #swort-login-form input[type="text"],
body.page-adherent-login #swort-login-form input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

body.page-adherent-login .max-w-md {
    max-width: 28rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Messages AJAX - Utilisation de classes Tailwind via JavaScript */
/* Le JavaScript ajoute directement les classes Tailwind */

