/* 添加阴影和抬升效果 */
.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 渐变背景动画 */
.gradient-hover {
    background: white;
    position: relative;
    z-index: 1;
}

.gradient-hover::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, #e1f5fe, #f3e5f5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.gradient-hover:hover::before {
    opacity: 1;
}

/* 装饰元素动画 */
.hover-dots {
    color: transparent;
    text-shadow: 0 0 8px #aaa;
    transition: all 0.3s;
}
.gradient-hover:hover .hover-dots {
    color: #0d6efd;
    text-shadow: none;
}

/* 统一表单控件样式 */
.form-control {
    height: 45px;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    transition: all 0.3s;
}

/* 标签样式 */
.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* 错误提示样式 */
.form-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* 表单组统一间距 */
.form-group {
    margin-bottom: 1.5rem;
}

/* 使所有输入框等宽 */
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
}


/* 自定义样式 */
:root {
    --primary: #5e72e4;
    --primary-soft: rgba(94, 114, 228, 0.1);
    --secondary: #f7fafc;
    --success: #48bb78;
    --success-soft: rgba(72, 187, 120, 0.1);
    --info: #4299e1;
    --warning: #ed8936;
    --danger: #f56565;
    --light: #ffffff;
    --dark: #2d3748;
    --gray: #718096;
    --gray-light: #e2e8f0;
}

/* 基础样式 */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 卡片悬停效果 */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 图标容器 */
.icon-sm {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-lg {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 按钮样式 */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #825ee4 100%);
}

/* 头像样式 */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

/* 导航栏 */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

/* 页脚 */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}