/* 全局响应式样式 - 确保PC端绝对统一480px */

/* 基础容器样式 - 严格统一为用户中心风格 */
.page-container, .main-container {
    max-width: 480px !important;  /* 强制统一PC端宽度 */
    margin: 0 auto;
    min-height: 100vh;
    background: #0a0a0a;
    position: relative;
    padding-bottom: 80px;
    transition: all 0.3s ease;
}

/* 底部导航栏 */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px !important; /* 强制与容器保持一致 */
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
}

/* 响应式设计 - 完全按照用户中心的响应式规则 */
@media (max-width: 480px) {
    .page-container, .main-container {
        max-width: 100%;
    }
    
    .bottom-navigation {
        max-width: 100%;
    }
    
    .page-header {
        padding: 15px 15px 10px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .main-content, .page-content {
        padding: 15px;
    }
    
    .user-avatar {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    
    .username {
        font-size: 16px;
    }
}

/* 通用表单样式优化 */
.form-group {
    margin-bottom: 20px;
}

.phone-input-group, .verification-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.country-code {
    min-width: 80px;
    flex-shrink: 0;
}

.verification-input, .phone-input {
    flex: 1;
}

.verification-btn {
    min-width: 100px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 登录标签优化 */
.login-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin: 0 20px 30px;
}

@media (max-width: 480px) {
    .login-tabs {
        margin: 0 15px 20px;
    }
}
