:root {
    --blue-main: #0b2c7d;
    --blue-dark: #08235f;
    --blue-light: #133a9e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: var(--blue-main) !important;
    /* height: 100vh; */
}
nav { display: none !important; }

/* ===== CONTAINER ===== */
.login-container {
    display: flex;
    height: 100vh;
}

/* ===== LEFT ===== */
.login-left {
    width: 65%;
    background: var(--blue-main);
    position: relative;
    overflow: hidden;
    padding: 60px 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.left-content {
    position: relative;
    z-index: 2;
}

.login-left h1 {
    font-size: 34px;
    font-weight: 600;
}

.login-left h2 {
    font-size: 40px;
    margin-top: 40px;
}

.login-left p {
    margin-top: 10px;
    font-size: 18px;
}

.socials i {
    margin-right: 18px;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.3s;
}

.socials i:hover {
    opacity: 1;
    transform: translateY(-2px);
}


.copyright {
    position: absolute;
    bottom: 40px;
    font-size: 14px;
    opacity: .8;
}

/* ===== FILIGRANE ===== */
.watermark {
    position: absolute;
    inset: 0;
    background: url('../img/logo.svg') no-repeat center;
    background-size: 70%;
    opacity: 0.08;
    left: -200px;           /* Décalé à gauche */
    pointer-events: none;

}


/* ===== RIGHT ===== */
.login-right {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== CARD ===== */
.login-card {
    width: 360px;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
    text-align: center;
}

.login-card h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

/* ===== INPUTS ===== */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border-radius: 30px;
    border: none;
    background: #eef4ff;
    font-size: 15px;
}

.input-wrapper i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
}

/* ===== BUTTONS ===== */
.btn-login {
    width: 100%;
    background: var(--blue-main);
    color: #fff;
    border-radius: 30px;
    border: none;
    margin-top: 10px;
    font-size: 16px;
}

.btn-outline {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border-radius: 30px;
    border: 1px solid var(--blue-main);
    background: #fff;
    color: var(--blue-main);
}

.forgot {
    display: block;
    margin-top: 15px;
    color: #ff5a00;
    text-decoration: none;
}


.input-group-text {
    background: var(--blue-main);
    border: none;
    color: white;
    border-radius: 10px 0 0 10px;
    width: 50px;
    justify-content: center;
}

.login-btn {
    background: var(--blue-main);
    border: none;
    border-radius: 12px;
    height: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}
.login-btn:hover {
    background: rgba(48, 48, 247, 0.409);
}
.login-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #2d2d2d;
}
form label {
    float: left !important;
    font-size: 14px !important;
}

/* ===== LOGO FIX (ANTI DEBORDEMENT) ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}

.logo img {
    width: 70px;
}

.brand-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-title span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 3px;
}


/* ===== MODULES LIST ===== */
.modules {
    margin-top: 20px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 18px;
    opacity: 0.95;
}

.module-item i {
    font-size: 26px;
    color: #ffffff;
    opacity: 0.9;
}


/* ===== RESPONSIVE FIX ===== */
@media (max-width: 1200px) {
    .login-left {
        padding: 60px;
    }
}


@media (max-width: 991.98px) {
    .login-left { display: none !important; }
    .login-right {
        width: 100% !important;
        align-items: flex-start !important;
    }
}
