* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    color: #1f2937;
    background: #f5f7fb;
}

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

.login-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

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

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 22px;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 20px;
}

.brand span {
    margin-top: 3px;
    color: #9ca3af;
    font-size: 11px;
}

.login-heading h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.login-heading p {
    margin: 0 0 26px;
    color: #6b7280;
    font-size: 14px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 13px;
    outline: none;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.password-label label {
    margin: 0;
}

.password-label a {
    color: #2563eb;
    font-size: 12px;
    text-decoration: none;
}

.password-field {
    position: relative;
}

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

.password-field button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    cursor: pointer;
}

.remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 16px 0 22px;
    color: #6b7280;
    font-weight: 400 !important;
}

.remember input {
    margin: 0;
}

.login-button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.login-button:hover {
    background: #1d4ed8;
}

.login-error {
    margin-bottom: 18px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
}

.login-footer {
    margin: 24px 0 0;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px;
    }
}
