* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #fafbfc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02), 0 10px 25px -10px rgba(0, 0, 0, 0.04);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.input-group {
    margin-bottom: 14px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-row .captcha-image {
    flex-shrink: 0;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
}

.input-row .password-input {
    flex: 1;
}

.password-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    color: #1e293b;
}

.password-input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
}

.password-input::placeholder {
    color: #94a3b8;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0f172a;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #1e293b;
}

.error-text {
    font-size: 12px;
    color: #ef4444;
    margin-top: 10px;
    text-align: center;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 8px;
}

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

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

.divider span {
    padding: 0 14px;
}

.login-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #10b981;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

.login-btn:hover {
    background-color: #059669;
}
