/* ===== Section ===== */
.supplier-auth-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}
.supplier-auth-section *,
.supplier-auth-section *::before,
.supplier-auth-section *::after { box-sizing: border-box; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #6c757d;
    font-size: .875rem;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .875rem 1rem;
    background: #fff;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.btn-google:hover {
    background: #f8f8f8;
    border-color: #ccc;
    color: #333;
    text-decoration: none;
}
.btn-google .fa-google { color: #ea4335; }
/* ===== Carte ===== */
.supplier-auth-section .login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .22);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
}
.supplier-auth-section .login-card.login-card-wide { max-width: 520px; }

.supplier-auth-section .login-header {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    padding: 2.25rem 2rem;
    text-align: center;
}
.supplier-auth-section .login-header i { font-size: 2.75rem; margin-bottom: .75rem; display: inline-block; }
.supplier-auth-section .login-header h3 { margin: 0 0 .35rem; font-size: 1.6rem; font-weight: 700; color: #fff; }
.supplier-auth-section .login-header p  { margin: 0; font-size: .95rem; opacity: .9; color: #fff; }

.supplier-auth-section .login-body { padding: 2rem; }

/* ===== Champs ===== */
.supplier-auth-section form { display: block; width: 100%; margin: 0; }

.supplier-auth-section .mb-3 { margin-bottom: 1.25rem !important; }
.supplier-auth-section .mb-4 { margin-bottom: 1.5rem !important; }
.supplier-auth-section .mb-0 { margin-bottom: 0 !important; }
.supplier-auth-section .mt-4 { margin-top: 1.5rem !important; }
.supplier-auth-section .me-2 { margin-right: .5rem !important; }

.supplier-auth-section .form-label {
    display: block;
    margin: 0 0 .45rem;
    font-size: .9rem;
    font-weight: 600;
    color: #2d3748;
}

.supplier-auth-section .input-group {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100% !important;
}

.supplier-auth-section .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: #f1f4fb;
    color: #4e73df;
    border: 1px solid #d1d3e2;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
}

.supplier-auth-section .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    margin: 0;
    background: #fff;
    color: #1a202c;
    font-size: 1rem;
    border: 1px solid #d1d3e2;
    border-radius: 0 10px 10px 0;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.supplier-auth-section .input-group .form-control::placeholder { color: #a0aec0; }
.supplier-auth-section .input-group .form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, .2);
}
.supplier-auth-section .input-group:focus-within .input-group-text {
    border-color: #4e73df;
}

/* ===== Remember me ===== */
.supplier-auth-section .d-flex { display: flex; }
.supplier-auth-section .justify-content-between { justify-content: space-between; }
.supplier-auth-section .align-items-center { align-items: center; }
.supplier-auth-section .form-check { display: flex; align-items: center; gap: .5rem; }
.supplier-auth-section .form-check-input {
    width: 18px; height: 18px; margin: 0; cursor: pointer; accent-color: #4e73df;
}
.supplier-auth-section .form-check-label { margin: 0; font-size: .9rem; color: #4a5568; cursor: pointer; }

/* ===== Bouton ===== */
.supplier-auth-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}
.supplier-auth-section .w-100 { width: 100% !important; }
.supplier-auth-section .btn-login {
    height: 50px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.supplier-auth-section .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(78, 115, 223, .4);
    color: #fff;
}

/* ===== Liens / textes ===== */
.supplier-auth-section .text-center { text-align: center; }
.supplier-auth-section .text-muted  { color: #718096; font-size: .95rem; }
.supplier-auth-section .text-danger { color: #e53e3e; }
.supplier-auth-section .forgot-password {
    color: #4e73df; font-weight: 600; text-decoration: none; font-size: .95rem;
}
.supplier-auth-section .forgot-password:hover { text-decoration: underline; }

/* ===== Alertes ===== */
.supplier-auth-section .alert {
    padding: .9rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .92rem;
}
.supplier-auth-section .alert ul { margin: 0; padding-left: 1.1rem; }
.supplier-auth-section .alert-danger  { background: #fdecec; color: #9b1c1c; border-color: #f5c2c7; }
.supplier-auth-section .alert-success { background: #e6f6ec; color: #14532d; border-color: #b7e4c7; }
.supplier-auth-section .btn-close { display: none; }

/* ===== Mobile ===== */
@media (max-width: 480px) {
    .supplier-auth-section { padding: 24px 12px; }
    .supplier-auth-section .login-body { padding: 1.5rem 1.25rem; }
}