* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f4f7f6;
}


/* ----- LOGIN PAGE LAYOUT ----- */
.login-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("cover.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ----- LOGIN CARD ----- */
.login-card {
    width: 350px;
    text-align: center;
    background: white;
    padding: 10px 25px;
    border-radius: 10px;
    margin: 15px 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ----- LOGO (LOGIN VERSION) ----- */


.logo-img-login {
    height: auto;
    display: block;
}

.login-card .logo-img {
    max-width: 180px;
    margin: 0 auto;
}

/* ----- LOGIN FORM ----- */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ----- FORM ELEMENTS ----- */
label {
    margin-bottom: -5px;
    font-size: 14px;
    color: #555;
    text-align: left;
}

input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.2s;
    width: 100%;
}

input:focus {
    border-color: #00614A;
    outline: none;
}

/* ----- ERROR MESSAGE ----- */
#loginError {
    color: red;
    font-size: 14px;
    text-align: left;
}

/* ----- BUTTON ----- */
.btn-primary {
    background: #00614A;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

.btn-primary:hover {
    background: #1aa57b;
}

/* ----- PASSWORD TOGGLE ----- */
.pwd-wrap {
    position: relative;
    width: 100%;
}

.pwd-wrap input {
    width: 100%;
    padding-right: 38px;
}

.pwd-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.15s;
}

.pwd-eye:hover { color: #00614A; }
/* ----- SÉPARATEUR ----- */
.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 14px;
    color: #adb5bd;
    font-size: 12px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.login-divider span {
    padding: 0 12px;
}

 /*----- BOUTON MICROSOFT ----- */
.btn-microsoft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border: 1px solid #8c8c8c;
    color: #1b1b1b;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
    width: 100%;
    box-sizing: border-box;
}

.btn-microsoft:hover {
    background: #f3f3f3;
}