/* 登录注册页面样式 */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--color-gray-light);
}

.auth-box {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

.discount-banner {
    background: var(--color-yellow);
    border: 2px solid #d97706;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-icon {
    font-size: 1.5rem;
}

.discount-text {
    font-weight: bold;
    color: var(--color-black);
}

.error-message {
    background: #fee;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-red);
}

.form-group input:disabled,
.form-group input[readonly] {
    background: var(--color-gray-light);
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
}

.form-hint.success {
    color: #27ae60;
}

.form-hint.error {
    color: #dc2626;
}

.btn-secondary {
    background: var(--color-blue);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.btn-secondary:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-link {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.875rem;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 2rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}


