/* ============================================
   VISUAL DASHBOARDS PAGE STYLES
   ============================================ */

.ch-page-header {
    text-align: center;
    padding: 80px 20px 60px;
    background: #000;
}

.ch-page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.ch-page-header h1 span {
    color: var(--accent-blue);
}

.ch-page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.ch-dashboard-section {
    padding: 60px 5%;
    background: #000;
}

.ch-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ch-dashboard-card {
    display: block;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.ch-dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(90deg, var(--accent-blue), #6366f1, #ec4899, #06b6d4, var(--accent-blue));
    background-size: 300% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

.ch-dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(58, 134, 255, 0.3);
}

.ch-dashboard-card:hover::before {
    animation: borderRotate 1.5s linear infinite;
}

.ch-dashboard-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(99, 102, 241, 0.1));
}

.ch-dashboard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ch-dashboard-card:hover .ch-dashboard-image img {
    transform: scale(1.1);
}

.ch-dashboard-title {
    padding: 20px;
    background: #0a0a0a;
}

.ch-dashboard-title h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.ch-dashboard-card:hover .ch-dashboard-title h3 {
    color: var(--accent-blue);
}

/* Dashboard Grid Responsive */
@media (max-width: 1024px) {
    .ch-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ch-page-header h1 {
        font-size: 2rem;
    }

    .ch-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ch-dashboard-image {
        height: 180px;
    }
}

/* Pagination Styles */
.ch-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 20px;
    flex-wrap: wrap;
}

.ch-pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.ch-pagination-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(58, 134, 255, 0.1);
}

.ch-pagination-numbers {
    display: flex;
    gap: 10px;
}

.ch-pagination-num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ch-pagination-num:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.ch-pagination-num.active {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}