/* Professional Background - Updated for Design System */
body {
    background: var(--light-color);
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-family);
    position: relative;
    overflow-x: hidden;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

/* Gradient Animation Keyframes - Smoother and More Subtle */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Professional SVG Background Pattern - More Subtle and Corporate */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 2000 2000"><g opacity="0.08"><circle cx="300" cy="300" r="8" fill="%232584C4"><animate attributeName="cy" from="300" to="1700" dur="45s" repeatCount="indefinite" /><animate attributeName="opacity" from="0.08" to="0.15" dur="6s" repeatCount="indefinite" reverse="true" /></circle><circle cx="800" cy="1500" r="6" fill="%2300CC52"><animate attributeName="cx" from="800" to="1200" dur="40s" repeatCount="indefinite" reverse="true" /><animate attributeName="r" from="6" to="9" dur="7s" repeatCount="indefinite" reverse="true" /></circle><circle cx="1500" cy="500" r="7" fill="%232D4359"><animate attributeName="cy" from="500" to="1800" dur="50s" repeatCount="indefinite" /><animate attributeName="opacity" from="0.08" to="0.12" dur="5s" repeatCount="indefinite" reverse="true" /></circle><rect x="600" y="300" width="15" height="15" fill="%232584C4" rx="2"><animate attributeName="y" from="300" to="1700" dur="38s" repeatCount="indefinite" /><animate attributeName="transform" type="rotate" from="0 607.5 307.5" to="360 607.5 307.5" dur="30s" repeatCount="indefinite" /></rect><path d="M300,300 Q550,900 800,1500" stroke="%2300CC52" stroke-width="1" opacity="0.05" fill="none"><animate attributeName="opacity" from="0.05" to="0.1" dur="8s" repeatCount="indefinite" reverse="true" /></path><path d="M800,1500 Q1150,1000 1500,500" stroke="%232584C4" stroke-width="1" opacity="0.05" fill="none"><animate attributeName="opacity" from="0.05" to="0.1" dur="9s" repeatCount="indefinite" reverse="true" /></path></g></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

/* Container - Updated for Design System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Main Container - Updated for Design System */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 2;
}

/* Pagination Area - Updated for Design System */
.pagination {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: var(--spacing-xl) auto;
    max-width: 600px;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    border: 1px solid var(--border-color);
}

.page-number, .page-arrow {
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover, .page-arrow:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-number.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
}

.page-arrow.disabled {
    color: var(--text-muted);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.ellipsis {
    padding: 10px 14px;
    color: var(--text-secondary);
}

/* Responsive Adjustments - Updated for Design System */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .main-container {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-md);
    }
}

@media (max-width: 992px) {
    .main-container {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .pagination {
        padding: var(--spacing-sm);
        margin: var(--spacing-lg) auto;
        gap: var(--spacing-xs);
    }
    .page-number, .page-arrow {
        padding: 10px 14px;
        font-size: 0.9rem;
        min-width: 36px;
    }
    
    .main-container {
        padding: var(--spacing-md);
        border-radius: var(--radius-lg);
        margin: 0 var(--spacing-xs);
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Accessibility: Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background: #f8f9fa;
    }
    body::before {
        background-image: none;
    }
    
    .main-container::before,
    .page-number:hover, 
    .page-arrow:hover {
        transition: none;
    }
}