/* 主要布局 */
.dashboard {
    background-color: var(--bg-color);
    padding: 20px 0;
    margin-top: 70px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}
.user-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-color);
}

.vip-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.vip-info i {
    font-size: 1.2rem;
}

.vip-expire {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.vip-expire i {
    font-size: 0.9rem;
}
.ordinary-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.user-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.btn-vip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

.btn-vip i {
    font-size: 1rem;
}

/* 导航菜单 */
.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    justify-content: center;
}

.nav-item i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.nav-item:hover {
    background: rgba(254, 165, 0, 0.1);
    color: var(--primary-color);
}

.nav-item.active {
    background: rgba(254, 165, 0, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

/* 主内容区域 */
.dashboard-content {
    display: flex;
    flex-direction: column;
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stats-cards-index {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 4px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0; /* 防止内容溢出 */
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.stat-card-index {
    background: white;
    border-radius: 12px;
    padding: 24px 0px 24px 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-info-duration{
    display: flex;
    flex-direction: row;
}
.stat-info-duration h5{
    margin-top: 12px;
    margin-left: 5px;
}
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon-index {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.stat-info-index {
    flex: 1;
}

.stat-info h3 {
    margin: 0;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-info-index h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-color);
    line-height: 1.2;
}

.stat-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.2;
}

.stat-info-index p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.2;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-change {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-change.positive {
    color: #52c41a;
}

.stat-change.negative {
    color: #ff4d4f;
}

/* 移除滚动条相关样式 */
.stats-cards::-webkit-scrollbar,
.stats-cards::-webkit-scrollbar-track,
.stats-cards::-webkit-scrollbar-thumb,
.stats-cards::-webkit-scrollbar-thumb:hover {
    display: none;
}

/* 最近学习区域 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top:20px
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.view-all {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--primary-color);
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.course-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.course-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.course-progress .progress-bar {
    margin: 0;
}

.course-content {
    padding: 0;
}

.course-content h3 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.course-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.btn-continue {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    float:right;
}

.btn-continue:hover {
    background: var(--primary-hover);
}

/* 学习日历 */
.calendar-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.calendar-filters button {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.calendar-filters button.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.calendar-grid {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

.calendar-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.calendar-nav button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.calendar-nav button:hover {
    background: #f5f7fa;
    color: #4CAF50;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-days span {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 8px;
}

.calendar-days span.today {
    color: #4CAF50;
    font-weight: 800;
}

.study-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.study-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background: #f5f7fa;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.study-cell.has-study {
    background: #E8F5E9;
}

.study-cell.has-study[data-hours="1"] { background: #C8E6C9; }
.study-cell.has-study[data-hours="2"] { background: #A5D6A7; }
.study-cell.has-study[data-hours="3"] { background: #81C784; }
.study-cell.has-study[data-hours="4"] { background: #66BB6A; }
.study-cell.has-study[data-hours="5"] { background: #4CAF50; }

.study-cell:hover {
    transform: scale(1.1);
}

.study-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.study-cell:hover .study-tooltip {
    visibility: visible;
    opacity: 1;
    bottom: calc(100% + 5px);
}

.study-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.study-stat-item {
    padding: 12px;
    background: #f5f7fa;
    border-radius: 8px;
}

.study-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 4px;
}

.study-stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* 考试表格 */
.exam-table {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-color);
}

.exam-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-name i {
    color: var(--primary-color);
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.status.passed {
    background: rgba(254, 165, 0, 0.1);
    color: var(--primary-color);
}

.status.failed {
    background: #FFEBEE;
    color: #f44336;
}

.btn-view {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .dashboard-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .stats-cards,
    .stats-cards-index {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .charts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 24px;
    }

    .stats-cards,
    .stats-cards-index {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .exam-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard {
        padding: 15px 0;
        margin-top: 60px;
    }

    .stats-cards,
    .stats-cards-index {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card,
    .stat-card-index {
        padding: 16px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stat-icon-index {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-info h3 {
        font-size: 1.2rem;
    }

    .stat-info-index h3 {
        font-size: 1.5rem;
    }

    .course-cards {
        grid-template-columns: 1fr;
    }

    .course-card {
        padding: 15px;
    }

    .course-image {
        height: 140px;
    }

    .course-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .course-info {
        font-size: 0.85rem;
    }

    .exam-list {
        grid-template-columns: 1fr;
    }

    .exam-card {
        padding: 15px;
    }

    .exam-status {
        top: 15px;
        right: 15px;
        padding: 3px 10px;
        font-size: 12px;
    }

    .exam-card h3 {
        font-size: 1rem;
        margin-bottom: 15px;
        padding-right: 70px;
    }

    .exam-info {
        gap: 8px;
        margin-bottom: 15px;
    }

    .info-item {
        font-size: 13px;
    }

    .exam-actions {
        flex-direction: column;
        gap: 8px;
    }

    .exam-actions button {
        width: 100%;
    }

    .content-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .content-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 15px;
    }

    .cert-content {
        flex-direction: column;
    }

    .cert-image {
        width: 100%;
        height: 160px;
    }

    .cert-title {
        font-size: 1rem;
    }

    .cert-desc {
        font-size: 0.9rem;
    }

    .cert-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.85rem;
    }

    .cert-actions {
        flex-direction: column;
        gap: 8px;
    }

    .cert-actions button {
        width: 100%;
    }

    .settings-section {
        padding: 15px;
    }

    .settings-section h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .security-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 12px;
    }

    .security-info h4 {
        font-size: 0.95rem;
    }

    .security-info p {
        font-size: 0.85rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 8px;
    }

    .form-actions button {
        width: 100%;
    }

    .header-actions .search-box input {
        width: 100%;
    }

    .records-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .records-table th,
    .records-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dashboard {
        padding: 10px 0;
    }

    .stat-card,
    .stat-card-index {
        padding: 12px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .stat-icon-index {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stat-info h3 {
        font-size: 1.1rem;
    }

    .stat-info-index h3 {
        font-size: 1.3rem;
    }

    .course-image {
        height: 120px;
    }

    .course-content h3 {
        font-size: 0.95rem;
    }

    .course-info {
        font-size: 0.8rem;
    }

    .btn-continue {
        padding: 8px;
        font-size: 0.9rem;
    }

    .exam-card h3 {
        font-size: 0.95rem;
        padding-right: 60px;
    }

    .info-item {
        font-size: 0.85rem;
    }

    .cert-title {
        font-size: 0.95rem;
    }

    .cert-desc {
        font-size: 0.85rem;
    }

    .cert-meta {
        font-size: 0.8rem;
    }
}

/* 我的考试区域样式 */
.content-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.content-tabs {
    display: flex;
    gap: 20px;
}

.tab {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tab:hover {
    color: var(--primary-color);
}

.tab.active {
    background: var(--primary-color);
    color: #fff;
}

/* 考试列表样式 */
.exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.exam-card {
    ackground: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-color);
}
.exam-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.exam-status.passed {
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
}

.exam-status.failed {
    background: rgba(245, 34, 45, 0.1);
    color: #f5222d;
}

.exam-status.upcoming {
    background: rgba(254, 165, 0, 0.1);
    color: var(--primary-color);
}

.exam-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 20px;
    padding-right: 80px;
}

.exam-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.info-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.exam-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.exam-actions button {
    flex: 1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prepare {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
}

/* 证书网格布局 */
.certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 证书卡片样式 */
.cert-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 180px;
}

.cert-content {
    display: flex;
    gap: 16px;
    flex: 1;
}

.cert-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cert-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cert-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.cert-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #999;
}

.cert-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cert-meta i {
    font-size: 14px;
}

.cert-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    justify-content: flex-end;
}
.cert-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.preview-btn {
    background-color: #4CAF50;
    color: white;
    margin-right: 10px;
}

.preview-btn:hover {
    background-color: #45a049;
}

.download-btn {
    background-color: #2196F3;
    color: white;
}

.download-btn:hover {
    background-color: #1976D2;
}
/* 证书预览弹窗样式 */
.cert-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.cert-preview-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 1001;
}

.close-modal:hover {
    color: #333;
}

.cert-image-container {
    width: 100%;
    text-align: center;
}

.cert-image-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
}
.btn-download {
    padding: 8px 16px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: rgba(254, 165, 0, 0.1);
}

/* 设置容器样式 */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 设置区块样式 */
.settings-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.settings-section h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* 表单样式 */
.settings-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(254, 165, 0, 0.2);
    outline: none;
}

/* 下拉框样式 */
select.form-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-input::-ms-expand {
    display: none;
}

/* 禁用状态的下拉框样式 */
select.form-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 提示文字样式 */
.form-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.text-muted {
    color: #999 !important;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* 单选按钮组样式 */
.radio-group {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* 表单操作按钮 */
.form-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

/* 安全设置项样式 */
.security-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.security-info h4 {
    margin: 0 0 4px 0;
    color: var(--text-color);
    font-size: 16px;
}

.security-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}
/* 响应式布局 */
@media (max-width: 768px) {
    .settings-section {
        padding: 16px;
    }

    .security-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .form-actions {
        justify-content: center;
    }
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.content-header h2 {
    font-size: 24px;
    color: var(--text-color);
    margin: 0;
}

.time-range-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    color: var(--text-color);
    cursor: pointer;
}

/* 图表区域样式 */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    height: 320px;
}

.chart-card canvas {
    height: 250px !important;
    width: 100% !important;
}

.chart-card h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: var(--text-color);
}

/* 学习记录表格样式 */
.study-records {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.study-records h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: var(--text-color);
}

.records-table {
    width: 100%;
    border-collapse: collapse;
}

.records-table th,
.records-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.records-table th {
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
}

.records-table tr:last-child td {
    border-bottom: none;
}

.records-table .progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
}

.records-table .progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.records-table .progress-bar span {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 12px;
    color: #666;
}
/* 订单列表样式 */
.orders-header {
    padding-bottom: 15px;
}

.orders-header h2 {
    font-size: 24px;
    color: #333;
}

.order-tabs {
    display: flex;
    gap: 20px;
}

.order-tabs .tab {
    padding: 8px 15px;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s;
}

.order-tabs .tab.active {
    background-color: var(--primary-color);
    color: #fff;
}

.order-tabs .tab:hover {
    background-color: var(--primary-color);
    color: #1890ff;
}

/* 订单项样式 */
.order-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    padding: 15px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-no {
    color: #666;
    font-size: 14px;
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.order-status.unpaid {
    color: #ff4d4f;
    background: #fff1f0;
}

.order-status.paid {
    color: #52c41a;
    background: #f6ffed;
}

.order-status.completed {
    color: #1890ff;
    background: #e6f7ff;
}

.order-status.cancelled {
    color: #999;
    background: #f5f5f5;
}

.order-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-course-info {
    display: flex;
    gap: 15px;
    flex: 1;
}

.order-course-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.order-course-detail {
    flex: 1;
}

.order-course-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}
.order-info {
    text-align: right;
    min-width: 200px;
}

.price-info {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.final-price {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: bold;
}

.order-time {
    color: #999;
    font-size: 14px;
}

.order-actions {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}


.btn-default {
    background: #fff;
    color: #666;
    border: 1px solid #d9d9d9;
}

.btn-default:hover {
    border-color: var(--primary-hover);
}

/* 分页样式 */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #666;
}

.pagination .active {
    background:var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.empty-state img {
    width: 120px;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}
/* 响应式布局 */
@media (max-width: 1200px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .stat-info h3 {
        font-size: 14px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-change {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .charts-container {
        grid-template-columns: 1fr;
    }

    .records-table {
        display: block;
        overflow-x: auto;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 200px auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    text-align: center;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* 验证码输入组 */
.verify-code-group {
    display: flex;
    gap: 10px;
}

.verify-code-group .form-control {
    flex: 1;
}

.btn-send {
    white-space: nowrap;
    padding: 0 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-send:hover {
    background:var(--primary-color);
}

.btn-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 按钮样式 */
.modal-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-cancel:hover {
    background: #e8e8e8;
}

.btn-confirm {
    background: var(--primary-color);
    color: white;
}

.btn-confirm:hover {
    background: var(--primary-color);
}

/* 微信二维码容器 */
.qrcode-container {
    text-align: center;
    padding: 20px 0;
}

.qrcode-container img {
    max-width: 200px;
    margin-bottom: 15px;
}

.qrcode-container p {
    color: #666;
    font-size: 14px;
}

/* 密码修改表单 */
#passwordForm .form-group {
    margin-bottom: 15px;
}

#passwordForm .form-control {
    padding: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }

    .verify-code-group {
        flex-direction: column;
    }

    .btn-send {
        width: 100%;
        padding: 10px;
    }
}

/* 错误提示 */
.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-control.error {
    border-color: #ff4d4f;
}

.form-control.error + .error-message {
    display: block;
}
#wechatQrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#wechatQrcode img {
    max-width: 100%;
    height: auto;
}
/* 加载状态 */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #23ade5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 支付弹窗样式 */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.payment-modal.active {
    display: flex;
}

.payment-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.payment-modal-close:hover {
    color: #666;
}

.payment-qrcode-container {
    text-align: center;
    margin: 20px 0;
}

.payment-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.payment-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-info {
    text-align: center;
    margin-top: 20px;
}

.payment-amount {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 500;
    margin: 10px 0;
}

.payment-tips {
    color: #666;
    font-size: 14px;
    margin: 15px 0;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* VIP特权介绍 */
.vip-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    font-size: 24px;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 会员套餐 */
.vip-packages {
    margin-bottom: 40px;
}

.vip-packages h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.package-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.package-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #fff, #fff8f0);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.package-card.popular:not(.selected) {
    border: 2px solid var(--primary-color);
}

.package-card.popular::before {
    content: "最受欢迎";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.checkmark {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.package-card.selected .checkmark {
    opacity: 1;
    transform: scale(1);
}

.package-header {
    text-align: center;
    margin-bottom: 24px;
}

.package-header h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.package-price {
    margin-bottom: 12px;
}

.package-price .price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}

.package-price .period {
    color: #666;
    font-size: 0.9rem;
}

.package-save {
    color: #52c41a;
    font-size: 0.9rem;
}

.package-features {
    list-style: none;
    margin-bottom: 24px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #666;
}

.package-features i {
    color: #52c41a;
}

.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* 常见问题 */
.vip-faq {
    margin-bottom: 40px;
}

.vip-faq h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.faq-question {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 16px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* 联系客服按钮 */
.btn-contact {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .vip-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vip-features {
        grid-template-columns: 1fr;
    }

    .package-cards {
        grid-template-columns: 1fr;
    }

    .package-card.popular {
        order: -1;
    }
}

/* 确认对话框样式 */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-dialog.show {
    opacity: 1;
}

.confirm-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.confirm-dialog.show .confirm-content {
    transform: translateY(0);
}

.confirm-content h3 {
    margin-bottom: 16px;
    color: var(--text-color);
}

.confirm-content p {
    margin-bottom: 24px;
    color: #666;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-confirm {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
}

.btn-cancel:hover {
    background: #e8e8e8;
}

.btn-confirm {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
}

.btn-confirm:hover {
    background: var(--primary-hover);
}
.agreement-title{
    text-align: center;
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 40px;
}
.agreement-comtents{
    background-color: #fff;
    padding:20px;
}

/* 积分获取方式样式 */
.coin-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.method-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.method-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.method-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 20px;
}

.method-item:nth-child(1) .method-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.method-item:nth-child(2) .method-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.method-item:nth-child(3) .method-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.method-item:nth-child(4) .method-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.method-item:nth-child(5) .method-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.method-item:nth-child(6) .method-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.method-item:nth-child(7) .method-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.method-item:nth-child(8) .method-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.method-content {
    flex: 1;
    min-width: 0;
}

.method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.method-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.method-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.method-desc {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

.method-points {
    text-align: right;
    margin-left: 20px;
    flex-shrink: 0;
}

.points-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 4px;
}

.points-unit {
    color: #95a5a6;
    font-size: 0.8rem;
    font-weight: 500;
}

.coin-summary {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.coin-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coin-summary h3 i {
    color: var(--primary-color);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.summary-item {
    text-align: center;
    padding: 16px;
    background: #f8f9ff;
    border-radius: 8px;
    border: 1px solid #e8f0fe;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.summary-label {
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .method-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .method-icon {
        margin: 0 0 12px 0;
    }

    .method-points {
        margin: 12px 0 0 0;
        text-align: center;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .summary-item {
        padding: 12px;
    }

    .summary-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .method-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}