/* 登录注册页面样式 */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.auth-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.query-info {
    margin-top: 15px;
}

.query-price {
    background-color: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.auth-tabs {
    display: flex;
    background-color: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.tab-btn.active {
    background-color: white;
    color: #1e3c72;
    font-weight: 600;
}

.auth-form {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2196F3;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.auth-btn:hover {
    transform: translateY(-2px);
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.back-home {
    margin-top: 30px;
}

.back-home a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.back-home a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .auth-container {
        padding: 15px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
