/* À intégrer dans layout_auth.php */
body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.auth-container {
    /* Marge de 5% par rapport au haut/bas et auto pour centrer horizontalement */
    margin: 5% auto; 
    /* Largeur de sécurité pour mobile (90% de l'écran) */
    width: 90%;
    /* Taille raisonnable sur PC (ne dépassera jamais 420px) */
    max-width: 420px;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Boutons tactiles optimisés (min 44px) */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    transition: transform 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.98);
}

.custom-input .form-control, .custom-input .input-group-text {
    height: 55px; /* Confort tactile iPhone */
    border-color: #e2e8f0;
    font-size: 1rem;
}

.custom-input .form-control:focus {
    box-shadow: none;
    border-color: #3b82f6;
    background-color: #fff;
}

.brand-logo {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Responsive iPhone 11 (Retina) */
@media (max-width: 414px) {
    .auth-container {
        margin-top: 30px;
    }
    h2 { font-size: 1.5rem; }
}