:root {
    --primary: #0c6f96;
    --primary-dark: #094f6b;
    --white: #ffffff;
}

/* ===== BACKGROUND ===== */
body {
    background: linear-gradient(135deg, #052c3a, #0c6f96);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== IMAGE ===== */
.img-login {
    height: 100vh;
    overflow: hidden;
}
.img-login img {
    object-fit: cover;
    filter: brightness(0.88);
}

/* ===== LAYOUT ===== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* ===== CARD ===== */
.loginform-container {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    border-radius: 22px;
    padding: 45px 38px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
    text-align: center;
    animation: fadeUp 0.9s ease;
}

/* ===== LOGO ===== */
.logo {
    border-radius: 14px;
    margin-bottom: 25px;
}

/* ===== TITLE ===== */
.loginform-container h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* ===== INPUT GROUP ===== */
.input-group {
    position: relative;
    margin-bottom: 22px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #0c6f96; 
    font-size: 16px;
    pointer-events: none;
}

/* ===== INPUT ===== */
.loginform-container input {
    height: 50px;
    border-radius: 14px !important;
    border: none;
    padding-left: 45px;
    background: rgba(255,255,255,0.95);
    font-size: 14px;
    transition: all 0.35s ease;
}

/* ===== FOCUS ANIMATION ===== */
.loginform-container input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12,111,150,0.35);
    transform: scale(1.02);
}

.loginform-container input:focus + i,
.input-group:focus-within i {
    color: var(--primary-dark) !important;
    transform: translateY(-50%) scale(1.15);
}

/* ===== BUTTON (PLUS CONTRASTÉ) ===== */
.loginform-container button {
    background: linear-gradient(135deg, #17a2d4, #0c6f96);
    border: none;
    color: #ffffff;
    height: 50px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow:
        0 8px 25px rgba(23,162,212,0.65),
        0 0 0 rgba(255,255,255,0);
    transition: all 0.35s ease;
}

/* Hover */
.loginform-container button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 45px rgba(23,162,212,0.85),
        0 0 12px rgba(255,255,255,0.4);
}

/* Active */
.loginform-container button:active {
    transform: scale(0.98);
}


/* ===== ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .img-login {
        display: none;
    }
    .login-container {
        padding: 20px;
    }
}