* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}


.login-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-content {
    width: 100%;
    max-width: 400px;
}

.login-title {
    color: #0a4d73;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-subtitle {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 10;
}

.input-icon-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 20;
}

.form-control {
    background: #e0e0e0 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 15px 15px 50px !important;
    height: auto !important;
}

.form-control::placeholder {
    color: #6c757d;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(10, 77, 115, 0.25) !important;
    background: #e0e0e0 !important;
}

.password-input {
    padding-right: 50px !important;
}

.btn-entrar {
    background: #97e63b !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px !important;
    font-weight: 700 !important;
    color: #0a4d73 !important;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-entrar:hover {
    background: #86d032 !important;
}

.login-links {
    margin-top: 40px;
    text-align: center;
}

.login-links p {
    color: #495057;
    margin-bottom: 10px;
}

.login-links a {
    color: #0a4d73;
    font-weight: 600;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-right {
    width: 55%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #0a4d73 0%, #084060 100%);
}

#img-login{
    background-image: url("../imgs/login.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-position: 0% 100px;
    background-size: 100% 96%;
}

.logo-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    text-align: center;
    z-index: 2;
}

.login-logo-mobile {
    display: none;
}

.login-logo-image {
    width: min(100%, 420px);
    height: auto;
    display: inline-block;
}

.login-hero-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    body {
        min-height: 100vh;
        display: block;
        background: #062a59;
    }

    .login-container {
        position: relative;
        min-height: 100vh;
        display: block;
        overflow: hidden;
    }

    .login-left {
        position: relative;
        z-index: 2;
        width: 100%;
        min-height: 100vh;
        padding: 32px 26px 40px;
        justify-content: flex-start;
        background: linear-gradient(rgba(5, 36, 86, 0.74), rgba(3, 26, 71, 0.86));
    }

    .login-content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding-top: 250px;
    }

    .login-right {
        position: absolute;
        inset: 0;
        width: 100%;
        padding: 0;
        background: linear-gradient(135deg, #0a4d73 0%, #084060 100%);
    }

    .logo-container {
        top: 48px;
        width: 232px;
        padding: 0;
        background: transparent;
    }

    .logo-container svg {
        display: none;
    }

    .login-logo-mobile {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    #img-login {
        position: absolute;
        inset: 0;
        background-position: center bottom;
        background-size: cover;
        opacity: 0.55;
        filter: saturate(0.95);
    }

    .login-title {
        color: #fff;
        font-size: 2.25rem;
        line-height: 1.05;
        text-align: center;
        margin-bottom: 10px;
    }

    .login-subtitle {
        color: #fff;
        font-size: 0.82rem;
        line-height: 1.45;
        text-align: center;
        margin-bottom: 28px;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .form-control {
        min-height: 56px;
        font-size: 0.98rem;
        padding-left: 42px !important;
    }

    .input-icon {
        left: 14px;
        width: 18px;
        height: 18px;
    }

    .input-icon-eye {
        right: 14px;
        width: 18px;
        height: 18px;
    }

    .btn-entrar {
        min-height: 58px;
        margin-top: 8px;
        font-size: 1rem !important;
    }
}
