* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Header styles */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Footer styles */
.site-footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    margin-top: auto;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.telegram-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.telegram-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.nav-link.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.header-left .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-left .logo:hover {
    color: #007bff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-email {
    color: #666;
    font-size: 0.9rem;
}

.payment-status-icon {
    display: inline-block;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-status-icon:hover {
    transform: scale(1.1);
    background-color: rgba(0, 123, 255, 0.1);
}

.btn {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background-color: #007bff;
    color: white;
}

.btn-login:hover {
    background-color: #0056b3;
}

.btn-logout {
    background-color: #6c757d;
    color: white;
}

.btn-logout:hover {
    background-color: #545b62;
}

/* Main content */
.main-content {
    padding: 20px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-section {
    padding: 30px;
    background-color: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-group select,
.form-group input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.form-group select[multiple] {
    min-height: 120px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.table-section {
    padding: 30px;
}

.table-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.85rem;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
    position: sticky;
    top: 0;
    border-bottom: 2px solid #dee2e6;
}

.data-table.modern-table {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.data-table.modern-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-row:hover {
    background-color: #f1f3f5;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.table-row {
    transition: all 0.2s ease;
}

.cell-id {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.cell-type {
    font-weight: 500;
    color: #495057;
}

.cell-exchange {
    font-weight: 500;
}

.cell-ticker {
    font-weight: 600;
    color: #007bff;
    font-family: 'Courier New', monospace;
}

.cell-ticker {
    vertical-align: top;
}

.cell-ticker .ticker-name {
    font-weight: 600;
    color: #007bff;
    font-family: 'Courier New', monospace;
    margin-bottom: 6px;
}

.cell-ticker .exchange-info {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.cell-ticker .exchange-row {
    margin-bottom: 3px;
    display: flex;
    align-items: baseline;
}

.cell-ticker .exchange-direction {
    font-weight: 600;
    color: #495057;
    margin-right: 4px;
}

.cell-ticker .exchange-link-inline {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    min-width: 80px;
    text-align: left;
}

.cell-ticker .exchange-link-inline:hover {
    color: #0056b3;
    text-decoration: underline;
}

.cell-ticker .exchange-name {
    font-weight: 500;
    color: #495057;
    display: inline-block;
    min-width: 80px;
    text-align: left;
}

.cell-ticker .exchange-price-inline {
    font-family: 'Courier New', monospace;
    color: #666;
    font-weight: 500;
    margin-left: 8px;
    display: inline-block;
    text-align: right;
    min-width: 100px;
}

.cell-ticker .network-info {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 4px;
    font-weight: normal;
    font-family: inherit;
}

.cell-ticker .network-label {
    font-weight: 600;
    color: #495057;
}

.cell-ticker .network-divider {
    margin: 0 6px;
    color: #adb5bd;
}

.cell-volume {
    font-weight: 600;
    color: #28a745;
}

.cell-spread {
    font-weight: 700;
    font-size: 1.05rem;
}

.cell-updated {
    font-size: 0.9rem;
    color: #6c757d;
}

.spread-positive {
    color: #28a745;
    font-weight: 700;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.spread-negative {
    color: #dc3545;
    font-weight: 700;
    background: rgba(220, 53, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Exchange Links */
.exchange-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid transparent;
}

.exchange-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.exchange-link:active {
    transform: translateY(0);
}

/* Exchange Price Display */
.exchange-price {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.login-prompt p {
    font-size: 1.2rem;
    color: #495057;
    margin: 0;
}

.login-link {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 8px;
}

.login-link:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Direction Toggle Styles */
.direction-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
    border: 2px solid #e9ecef;
    margin-top: 8px;
}

.direction-toggle input[type="radio"] {
    display: none;
}

.toggle-option {
    flex: 1;
    padding: 8px 16px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
    background: transparent;
    border: none;
    margin: 0;
}

.toggle-option:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.direction-toggle input[type="radio"]:checked + .toggle-option {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    transform: translateY(-1px);
}

/* Filter Button Styles */
.filter-btn {
    margin-top: 8px;
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Enhanced Input Styles for Filters */
.form-group input[type="number"] {
    background: white;
    transition: all 0.3s ease;
}

.form-group input[type="number"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.form-group input[type="number"]:hover {
    border-color: #80bdff;
}

/* Multiple Select Enhancement */
.form-group select[multiple] {
    background: white;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group select[multiple]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.form-group select[multiple]:hover {
    border-color: #80bdff;
}

/* Filters Container */
.filters-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.filters-container .form-group {
    margin-bottom: 0;
}

.filters-container .form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #555;
}

.filters-container .form-group select,
.filters-container .form-group input[type="number"] {
    padding: 8px 10px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

.filters-container .direction-toggle {
    margin-top: 4px;
    padding: 2px;
}

.filters-container .toggle-option {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.filters-container .checkbox-grid {
    padding: 8px;
    gap: 6px;
    margin-top: 4px;
}

.filters-container .checkbox-item {
    padding: 4px 6px;
    font-size: 0.85rem;
}

.filters-container .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Checkbox Grid Styles */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #dee2e6;
    margin: 0;
    font-weight: 500;
    color: #495057;
}

.checkbox-item:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.checkbox-item input[type="checkbox"] {
    margin: 0 8px 0 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #007bff;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
    font-weight: 600;
    color: #007bff;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.checkbox-label {
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Index Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: #28a745;
    color: white;
}

.cta-button.primary:hover {
    background: #218838;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #667eea;
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.trading-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 200px;
}

.chart-bar {
    width: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
    animation: pulse 2s infinite;
}

.chart-bar:nth-child(even) {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: white;
}

.stats-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.features-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 20px;
    background: white;
}

.steps-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Exchanges Section */
.exchanges-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.exchanges-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.exchange-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.exchange-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Final CTA Section */
.final-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .container {
        margin: 10px;
    }

    .form-section,
    .table-section {
        padding: 20px;
    }

    .header-container {
        padding: 0 15px;
        height: 50px;
        flex-wrap: wrap;
    }

    .header-left .logo {
        font-size: 1.3rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .user-email {
        display: none;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Index Page Mobile Styles */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-visual {
        padding-left: 0;
        margin-top: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .exchanges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Table mobile responsive styles */
    .data-table.modern-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }
    
    .table-row:hover {
        transform: none;
    }
    
    .cell-id {
        font-size: 0.8rem;
    }
    
    .cell-ticker {
        font-size: 0.85rem;
    }
    
    .cell-spread {
        font-size: 0.9rem;
    }
    
    .spread-positive,
    .spread-negative {
        padding: 2px 4px;
        font-size: 0.8rem;
    }
    
    .exchange-link {
        padding: 2px 4px;
        font-size: 0.85rem;
    }
    
    .login-prompt {
        padding: 40px 15px;
    }
    
    .login-prompt p {
        font-size: 1rem;
    }

    /* Filter mobile responsive styles */
    .filters-container {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .filters-container .form-group label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .filters-container .form-group select,
    .filters-container .form-group input[type="number"] {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .filters-container .direction-toggle {
        flex-direction: column;
        gap: 2px;
        padding: 2px;
        margin-top: 3px;
    }
    
    .filters-container .toggle-option {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .filters-container .filter-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-top: 3px;
    }
    
    .filters-container .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 6px;
        margin-top: 3px;
    }
    
    .filters-container .checkbox-item {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .filters-container .checkbox-item input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }
    
    .footer-container {
        padding: 0 15px;
        height: 45px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        justify-content: center;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .auto-refresh-section {
        margin-bottom: 15px;
        padding: 12px;
    }
    
    .toggle-label {
        font-size: 0.85rem;
    }
}

/* Filters Toggle Button Styles */
.filters-toggle-btn {
    padding: 8px 16px;
    margin-bottom: 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filters-toggle-btn:hover {
    background: #0056b3;
}

/* Table Header Controls */
.table-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pairs-counter {
    font-size: 1rem;
    color: #495057;
}

.pairs-counter strong {
    color: #007bff;
    font-weight: 600;
}

/* Auto Refresh Toggle Styles */
.auto-refresh-section {
    display: flex;
    align-items: center;
}

.auto-refresh-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.auto-refresh-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    margin-right: 12px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.auto-refresh-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: #28a745;
}

.auto-refresh-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}
