* {
    box-sizing: border-box;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: #f3f4f6;
    color: #1f2937;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: min(480px, 100%);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.login-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.login-brand {
    width: 100%;
    max-width: 320px;
    margin-bottom: 28px;
}

.login-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.login-tagline {
    margin: 0 0 32px;
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    color: #111827;
}

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

.field-group {
    margin-bottom: 22px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
}

.field-group input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    font-size: 16px;
    color: #111827;
    background: #fff;
}

.field-group input:focus {
    outline: none;
    border-color: #083fe5;
    box-shadow: 0 0 0 1px #083fe5;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.remember-row {
    display: flex;
    align-items: center;
    margin: 8px 0 20px;
}

.remember-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
}

.remember-row input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 4px;
    background: #fdecea;
    color: #b42318;
    font-size: 14px;
}

.login-alert svg {
    flex-shrink: 0;
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #b42318;
}

.btn-sign-in {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 4px;
    background: #2b2c30;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.btn-sign-in:hover {
    background: #1f2023;
}

@media (max-width: 600px) {
    .login-panel {
        padding: 32px 24px 40px;
    }

    .login-tagline {
        font-size: 24px;
    }
}
