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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f4f7f6;
    color: #1a1a1a;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 36px 32px;
}

.login-logo {
    display: block;
    max-width: 220px;
    height: auto;
    margin: 0 auto 28px;
}

.login-title {
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4px;
    color: #222;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-bottom: 28px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

.login-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 0.9375rem;
    border: 1px solid #d0d5d3;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field input:focus {
    outline: none;
    border-color: #1a9b8e;
    box-shadow: 0 0 0 3px rgba(26, 155, 142, 0.15);
}

.password-wrap {
    position: relative;
}

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

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

.toggle-password:hover {
    color: #333;
}

.login-error {
    color: #c0392b;
    font-size: 0.8125rem;
    min-height: 1.25em;
    margin-bottom: 12px;
    text-align: center;
}

.login-submit {
    width: 100%;
    height: 46px;
    margin-top: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: #1a9b8e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.login-submit:hover {
    background: #158f83;
}

.login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}
