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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}

.container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #0078d4;
    letter-spacing: -0.3px;
}

.brand-sub {
    font-size: 12px;
    color: #605e5c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.subtitle {
    font-size: 14px;
    color: #605e5c;
    margin-bottom: 28px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #323130;
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    background: #faf9f8;
    transition: all 0.15s;
    font-family: inherit;
}

.field input:focus {
    outline: none;
    border-color: #0078d4;
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.15);
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #323130;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #0078d4;
}

.forgot {
    color: #0078d4;
    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 11px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled) {
    background: #106ebe;
}

.btn-primary:disabled {
    background: #c8c6c4;
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #a19f9d;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e1dfdd;
}

.divider span {
    padding: 0 12px;
}

.btn-secondary {
    width: 100%;
    padding: 10px;
    background: white;
    color: #323130;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #faf9f8;
    border-color: #a19f9d;
}

.footer-text {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #605e5c;
}

.footer-text a {
    color: #0078d4;
    text-decoration: none;
}

.page-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #605e5c;
}

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