/* 基础通用样式 - 不包含特定主题色 */

/* CSS变量定义 - 中性色彩 */
:root {
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-radius: 15px;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition-base: all 0.3s ease;
}

/* 全局字体和基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 通用卡片样式 */
.modern-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 通用按钮样式 */
.btn-modern {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    transition: var(--transition-base);
}

/* 边框渐变效果 */
.border-gradient {
    border: 2px solid transparent;
    border-radius: var(--border-radius);
}

/* 现代化输入框样式 */
.modern-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition-base);
    font-weight: 500;
}

.modern-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

/* 消息提示样式 */
.alert-modern {
    color: white;
    border: none;
    border-radius: var(--border-radius);
}

.alert-error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.alert-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.alert-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.alert-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* 加载动画 */
.spinner-border {
    border-width: 3px;
    width: 2.5rem;
    height: 2.5rem;
}

/* 悬停效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover) !important;
}

/* 特色图标样式 */
.feature-icon {
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.feature-icon:hover::before {
    width: 100px;
    height: 100px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .modern-card {
        border-radius: 10px !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .btn-modern {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .btn-modern {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
} 