:root {
    --bg: #f6f7f9;
    --ink: #0f172a;
    --muted: #6b7280;
    --border: #d7dbe0;
    --primary: #0b2a3a;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    color: var(--ink);
    background: var(--bg);
}

.login-page {
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-card {
    width: min(1500px, 100%);
    max-width: 100%;
    background: transparent;
    display: flex;
    gap: 32px;
    padding: 24px 8px;
    flex: 1;
    align-items: center;
}

.login-left {
    flex: 1;
    padding: 8px 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.brand__badge {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.login-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(520px, 100%);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field__label {
    font-size: 15px;
    color: #111827;
}

.field__input {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    background: var(--white);
    outline: none;
    transition: border .15s ease, box-shadow .15s ease;
}

.field__input:focus {
    border-color: #9fb4c0;
    box-shadow: 0 0 0 3px rgba(15, 118, 145, 0.10);
}

.password-wrap {
    position: relative;
}

.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #111827;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: .8;
}

.eye-btn:hover {
    opacity: 1;
}

.login-btn {
    font-family: 'Poppins', sans-serif;
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
    transition: transform 0.2s ease;
}

.login-btn:hover {
    transform: scale(1.1);
}

.forgot-password {
    display: inline-block;
    margin-left: 16px;
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.2s ease;

}

.forgot-password:hover {
    transform: scale(1.1);
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px 0;
}

.login-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .login-card {
        height: 100%;
        flex-direction: column;
        padding: 12px;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .login-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .brand {
        justify-content: center;
        width: 100%;
    }

    .login-title {
        text-align: center;
        width: 100%;
    }

    .login-form {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .field__label {
        text-align: left;
    }

    .login-right {
        display: none;
    }
}