.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bg);
    padding: 24px;
}

.login-card {
    width: min(560px, 100%);
    min-height: 527px;
    background: #ffffff;
    border-radius: 26px;
    padding: 28.8px 28.8px 22.4px;
}

.brand {
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 40px;
    letter-spacing: -0.02em;
}

.brand span {
    color: var(--blue);
}

h1 {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 700;
    color: #18326e;
    letter-spacing: -0.02em;
}

.form-alert {
    margin: 0 0 12px;
    border: 1px solid #f2b4b9;
    border-radius: 12px;
    background: #fff1f2;
    color: #8f2430;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
}

.field {
    position: relative;
    margin-bottom: 12px;
}

.split-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.field svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6d83ad;
}

.field input {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #eef2f8;
    outline: none;
    padding: 0 14px 0 40px;
    color: #213c73;
    font-size: 15px;
    font-family: inherit;
}

.field input::placeholder {
    color: #6e83aa;
}

.row {
    margin: 6px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
    color: #5b72a0;
    font-weight: 500;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember input {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    accent-color: var(--blue);
}

.btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b82f6 0%, var(--blue) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--blue-dark);
}

.center-link {
    text-align: center;
    margin: 14px 0 24px;
    font-size: 15px;
    font-weight: 500;
}

.center-link a {
    color: #637aa4;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.signup {
    text-align: center;
    margin: 0;
    font-size: 15px;
    color: #5e739e;
    font-weight: 500;
}

.signup a {
    margin-left: 8px;
}

@media (max-width: 900px) {
    .btn {
        height: 44px;
    }

    .field input {
        height: 42px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .login-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .brand {
        margin-bottom: 24px;
    }

    h1 {
        margin-bottom: 16px;
    }

    .row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .btn {
        border-radius: 14px;
    }
}
