/* 自定义样式 */

/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #24cfe9 0%, #9840f3 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* 导航栏样式 */
.navbar {
    border-bottom: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar.fixed-top {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--warning-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--warning-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* 首页横幅 */
.hero-section {
    background: linear-gradient(135deg, #0c47b3 0%, #6c0cc5 100%);
    color: white;
    padding: 100px 0 20px; /* 大幅减小上下内边距 */
    margin-top: 0px; /* 导航栏高度补偿 */
    min-height: 70vh; /* 大幅减小高度 */
    display: flex;
    align-items: flex-start; /* 文字靠近顶部 */
}

.hero-content h1 {
    margin-bottom: 0.5rem; /* 大幅减小标题下方间距 */
    margin-top: 0; /* 移除标题上方间距 */
    font-size: 2rem; /* 减小标题字体大小 */
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1rem; /* 减小字体大小 */
    margin-bottom: 0.4rem; /* 大幅减小段落下方间距 */
    margin-top: 0; /* 移除段落上方间距 */
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-top: 0.5rem; /* 大幅减小按钮上方间距 */
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.barcode-showcase {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);

　
}

.barcode-svg {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.barcode-text {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
}



/* 条码图片圆角样式 */
.barcode-sample {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.barcode-sample:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.barcode-sample img {
    border-radius: 10px;
    display: block;
    max-width: 100%;
    height: auto;
}

/* 功能特色 */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    margin-bottom: 1rem;
}

.feature-card:hover .feature-icon {
    animation: bounce 0.6s ease-in-out;
}

/* 会员套餐 */
.plan-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 自定义购买相关样式 */
.custom-purchase-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-purchase-sidebar {
    position: sticky;
    top: 20px;
}

.custom-purchase-sidebar .card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-purchase-sidebar .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.custom-purchase-sidebar .card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 1.2rem 1rem;
}

.custom-purchase-sidebar .card-body {
    padding: 1.5rem;
}

.price-calculation {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.tier-info {
    background: #f8f9fa;
    padding: 4px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    max-height: 130px;
    overflow-y: auto;
}

.tier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 12px;
    margin-bottom: 2px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tier-item.bg-primary {
    border-color: #0d6efd;
}

.tier-item.bg-light {
    background-color: #f8f9fa !important;
    color: #495057;
}

.tier-info .tier-item:last-child {
    border-bottom: none;
}

#customQuantity {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: border-color 0.3s ease;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

#customQuantity:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

#customQuantity:hover {
    border-color: #0056b3;
}

/* 横向自定义购买区域样式 */
.custom-purchase-horizontal {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-purchase-horizontal .card {
    flex: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    max-height: 150px; /* 保持原有高度，与自定义购买卡片协调 */
    border: 1px solid #e9ecef;
    background: white;
}

/* 支付方式按钮样式优化 */
.custom-purchase-horizontal .btn-group .btn-outline-primary {
    border: 2px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-radius: 8px 0 0 8px;
}

.custom-purchase-horizontal .btn-group .btn-outline-success {
    border: 2px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-radius: 0 8px 8px 0;
}

.custom-purchase-horizontal .btn-group .btn-outline-primary:hover {
    border-color: #0d6efd;
    z-index: 2;
}

.custom-purchase-horizontal .btn-group .btn-outline-success:hover {
    border-color: #198754;
    z-index: 2;
}

.custom-purchase-horizontal .btn-group .btn-check:checked + .btn-outline-primary {
    border-color: #0d6efd;
    background-color: #0d6efd;
    border-right: 1px solid #0d6efd;
    z-index: 3;
}

.custom-purchase-horizontal .btn-group .btn-check:checked + .btn-outline-success {
    border-color: #198754;
    background-color: #198754;
    border-left: 1px solid #198754;
    z-index: 3;
}

.custom-purchase-horizontal .btn-group .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    z-index: 4;
}

.custom-purchase-horizontal .btn-group .btn-outline-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    z-index: 4;
}

.custom-purchase-horizontal .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}





/* 单列套餐卡片样式 */
#membershipPlans .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    min-height: 50px;
    max-height: 180px; /* 适当增加高度，保持视觉舒适度 */
}

#membershipPlans .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#membershipPlans .card-body {
    padding: 1rem;
    min-height: 50px;
    max-height: 150px; /* 限制内容区域高度，与自定义购买卡片保持一致 */
    overflow-y: auto; /* 内容过多时显示滚动条 */
}

#membershipPlans .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#membershipPlans .h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* 立即购买按钮样式优化 */
#createCustomOrder {
    padding: 0.2rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 5px;
    font-weight: 500;
    min-height: 43px;
    line-height: 1.1;
    margin-top: 0.05rem;  /* 进一步减小与支付方式按钮的间隔 */
}

/* 支付方式按钮也做矮一点 */
.custom-purchase-horizontal .btn-group .btn-outline-primary,
.custom-purchase-horizontal .btn-group .btn-outline-success {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    min-height: 32px;
    line-height: 1;
}

/* 支付方式按钮组整体间距调整 */
.custom-purchase-horizontal .btn-group {
    margin-bottom: 0.05rem;  /* 进一步减小按钮组与下方元素的间隔 */
    margin-top: 0;  /* 移除顶部间距 */
}

/* 响应式布局优化 */
@media (max-width: 991px) {
    .custom-purchase-horizontal {
        margin-top: 2rem;
    }
    
    .custom-purchase-horizontal .card-body {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    #membershipPlans .card-body {
        padding: 1rem;
    }
    
    #membershipPlans .col-md-8,
    #membershipPlans .col-md-4 {
        text-align: center !important;
    }
    
    #membershipPlans .col-md-4 {
        margin-top: 1rem;
    }
    
    .custom-purchase-horizontal .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* 左侧单列套餐样式优化 - 简化版 */
#membershipPlans .col-12 {
    padding: 0 8px;
}

#membershipPlans .card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

#membershipPlans .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#membershipPlans .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px 6px 0 0;
    border: none;
    line-height: 1.1;
}

#membershipPlans .card-header h5 {
    font-size: 0.85rem;
    margin-bottom: 0;
    font-weight: 500;
}

#membershipPlans .card-body {
    padding: 0.6rem;
}

#membershipPlans .card-footer {
    background: transparent;
    border-top: 1px solid #e9ecef;
    padding: 0.8rem;
}

/* 移除滑动条 */
#membershipPlans {
    overflow: visible;
    max-height: none;
}

#membershipPlans .card {
    overflow: visible;
}

/* 左侧单列套餐响应式优化 */
@media (max-width: 991px) {
    #membershipPlans .card-body {
        padding: 0.875rem;
    }
    
    #membershipPlans .card-title {
        font-size: 1rem;
    }
    
    #membershipPlans .text-primary {
        font-size: 1.1rem;
    }
    
    #membershipPlans .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    #membershipPlans .col-8 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    
    #membershipPlans .col-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* 自定义购买区域全新设计 */
.custom-purchase-horizontal {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.custom-purchase-horizontal .card {
    min-height: 286px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.custom-purchase-horizontal .card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.custom-purchase-horizontal .card-header {
    height: 40px;
    padding: 7px;
    border-radius: 6px 6px 0 0 !important;
    line-height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-purchase-horizontal .card-header h6 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.custom-purchase-horizontal .card-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-purchase-horizontal .quantity-section {
    text-align: center;
}

.custom-purchase-horizontal .quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
}

.custom-purchase-horizontal .quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.custom-purchase-horizontal .btn-quantity {
    width: 30px;
    height: 30px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    color: #495057;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.custom-purchase-horizontal .btn-quantity:first-child {
    border-radius: 4px 0 0 4px;
}

.custom-purchase-horizontal .btn-quantity:last-child {
    border-radius: 0 4px 4px 0;
}

.custom-purchase-horizontal .btn-quantity:hover {
    background: #f8f9fa;
    color: #667eea;
}

.custom-purchase-horizontal .btn-quantity:active {
    background: #e9ecef;
    transform: scale(0.95);
}

.custom-purchase-horizontal .quantity-display {
    width: 130px;
    height: 30px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    cursor: default;
    padding: 0;
    pointer-events: none;
}

.custom-purchase-horizontal .discount-info {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
}

.custom-purchase-horizontal .discount-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.custom-purchase-horizontal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.custom-purchase-horizontal .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.3rem;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    display: block;
    width: 100%;
}

.custom-purchase-horizontal .price-section {
    margin: 0.1rem 0;
}

.custom-purchase-horizontal .price-calculation {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.custom-purchase-horizontal .price-calculation .d-flex {
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
}

.custom-purchase-horizontal .price-calculation .d-flex:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 2px solid #667eea;
}

.custom-purchase-horizontal .price-calculation .text-primary {
    color: #667eea !important;
    font-weight: 700;
}

.custom-purchase-horizontal .action-section {
    margin-top: 0rem;
    padding-top: 0rem;
}

.custom-purchase-horizontal .btn {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.custom-purchase-horizontal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.custom-purchase-horizontal .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card.recommended {
    border-color: var(--warning-color);
    transform: scale(1.05);
}

.plan-card.recommended::before {
    content: '推荐';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--warning-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: var(--border-radius);
}

.plan-price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: normal;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* 联系我们 */
.contact-item {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* 按钮样式 */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    padding: 0.75rem 1.5rem;
}

.plan-card .btn {
    margin-top: auto;
    align-self: center;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-warning {
    background: var(--warning-color);
    border: none;
    color: var(--dark-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* 模态框样式 */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

/* 注册模态框自定义样式 */
#registerModal .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

/* 模态框背景遮罩层修复 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

body.modal-open {
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: var(--light-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .plan-card.recommended {
        transform: scale(1);
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    /* 移动端模态框优化 */
    #registerModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
    
    .btn-group.w-100 {
        flex-direction: column;
    }
    
    .btn-group.w-100 .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 成功提示 */
.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    border-radius: var(--border-radius);
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    border: none;
    color: white;
    border-radius: var(--border-radius);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* 页面过渡效果 */
.page-transition {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}