/* Styles pour la page de connexion/inscription */

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    overflow-x: hidden;
    color: var(--text-color);
    padding: 30px 20px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../img/accueil.jpg') center center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.06);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: -1;
}

.logo-container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

/* Override inline defaults in header-minimal */
body .auth-container {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto;
    padding: 0;
    box-sizing: border-box;
    padding-top: 0 !important;
}

.auth-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 30px;
    width: 100%;
    max-width: 450px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid #ddd;
    flex: 1;
    text-align: center;
    transition: all 0.3s;
}

.tab.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}

form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-footer {
    margin-top: 15px;
    text-align: center;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.message.error {
    background-color: #ffdede;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.message.success {
    background-color: #deffde;
    color: #388e3c;
    border-left: 4px solid #388e3c;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: bold;
}

.btn-whatsapp i {
    margin-right: 8px;
    font-size: 18px;
}

.whatsapp-link {
    margin-top: 10px;
}
