* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Open Sans", Arial, sans-serif; }

/* Loader */
#loader {
    position: fixed; width: 100%; height: 100vh;
    background-color: #1264a3; display: flex;
    justify-content: center; align-items: center; z-index: 1000;
}
.spinner {
    width: 45px; height: 45px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff; border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Page */
#main-content {
    min-height: 100vh;
    background: url('chaseback.png') no-repeat center center fixed;
    background-size: cover;
}
.hidden { display: none; }

.page-wrapper {
    min-height: 100vh;
    display: flex; flex-direction: column;
    background: rgba(0, 0, 0, 0.1);
}

header { padding: 30px; text-align: center; }
.logo { height: 28px; filter: brightness(0) invert(1); } /* Force le logo blanc si besoin */

.login-container { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px; }

.login-card {
    background: white; padding: 35px; border-radius: 6px;
    width: 100%; max-width: 410px; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.input-group { margin-bottom: 25px; border-bottom: 1px solid #999; }
.input-group label { display: block; color: #666; font-size: 14px; }
.input-group input { 
    width: 100%; border: none; padding: 10px 0; 
    font-size: 16px; outline: none; background: transparent;
}

.password-wrapper { display: flex; align-items: center; }
.show-password { color: #0060ac; font-weight: 600; cursor: pointer; font-size: 14px; }

.options { display: flex; justify-content: space-between; margin: 20px 0; font-size: 14px; color: #444; }
.btn-signin { 
    width: 100%; background: #0060ac; color: white; border: none; 
    padding: 14px; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 16px;
}
.btn-signin:hover { background: #004e8c; }

.links { margin-top: 25px; }
.links a { display: block; color: #0060ac; text-decoration: none; margin-bottom: 15px; font-size: 15px; }

/* Footer */
footer { background: white; padding: 30px 10px; text-align: center; color: #666; font-size: 12px; }
.social-icons { font-size: 20px; margin-bottom: 20px; color: #333; }
.social-icons i { margin: 0 15px; cursor: pointer; }
.footer-links { margin-bottom: 15px; line-height: 2; }
.footer-links a { color: #666; text-decoration: none; margin: 0 8px; }
.footer-bottom { border-top: 1px solid #eee; padding-top: 15px; }