.country-flag {
    width: 24px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.club-logo {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    vertical-align: middle;
}

.player-card {
    margin-bottom: 10px;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
}

.breadcrumb {
    margin-bottom: 20px;
}

.table-responsive {
    margin-bottom: 30px;
}

.country-card {
    margin-bottom: 15px;
}

.country-card .card-header {
    font-weight: bold;
}

.club-card {
    margin-bottom: 15px;
}

.club-card .card-header {
    font-weight: bold;
}

.instructions-section {
    margin-bottom: 30px;
}

.instructions-section h3 {
    margin-bottom: 15px;
}

.instructions-code {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    margin-bottom: 20px;
}


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
            overflow-x: hidden;
        }

        .hero-section {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            padding: 2.5rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 1;
        }

        .hero-title {
            font-size: clamp(2.0rem, 5vw, 4rem);
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
            animation: slideInUp 1s ease-out;
        }

        .hero-subtitle {
            font-size: 1.0rem;
            color: rgba(255,255,255,0.9);
            margin-bottom: 2rem;
            animation: slideInUp 1s ease-out 0.2s both;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .main-content {
            background: white;
            border-radius: 24px 24px 0 0;
            margin-top: -2rem;
            position: relative;
            z-index: 2;
            box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        }

        .content-wrapper {
            padding: 3rem 0;
        }
        
        .content-wrapper .navigation-links:first-child {
            margin-top: 0;
            padding-top: 1.5rem;
        }

        .section {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .section:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(0,0,0,0.15);
        }

        .section:hover::before {
            transform: scaleX(1);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }


.section-subtitle {
    font-size: 1.0rem;
    font-weight: 700;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

        .section-icon {
            width: 2.5rem;
            height: 2.5rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }

        .custom-list {
            list-style: none;
            padding: 0;
        }

        .custom-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
        }

        .custom-list li:hover {
            background: rgba(102, 126, 234, 0.05);
            padding-left: 2rem;
            border-radius: 8px;
        }

        .custom-list li::before {
            content: '✨';
            font-size: 1.0rem;
            min-width: 1.1rem;
        }

        .code-block {
            background: #1a202c;
            color: #e2e8f0;
            padding: 1.5rem;
            border-radius: 12px;
            font-family: 'Fira Code', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            position: relative;
            margin: 1rem 0;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .code-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .copy-btn {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: rgba(255,255,255,0.1);
            border: none;
            color: white;
            padding: 0.5rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .copy-btn:hover {
            background: rgba(255,255,255,0.2);
        }

        .file-structure {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
            border: 2px dashed rgba(102, 126, 234, 0.3);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1rem 0;
        }

        .csv-example {
            background: #f7fafc;
            border-left: 4px solid #667eea;
            padding: 1rem 1.5rem;
            margin: 1rem 0;
            border-radius: 0 8px 8px 0;
        }

        .csv-title {
            font-weight: 600;
            color: #4a5568;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .csv-title::before {
            content: '📄';
        }

        .steps-list {
            counter-reset: step-counter;
            list-style: none;
            padding: 0;
        }

        .steps-list li {
            counter-increment: step-counter;
            position: relative;
            padding: 1.0rem 0 1.0rem 4rem;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .steps-list li::before {
            content: counter(step-counter);
            position: absolute;
            left: 0;
            top: 1.0rem;
            width: 2.5rem;
            height: 1.5rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 30%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.0rem;
        }

        .highlight-box {
            background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(16, 185, 129, 0.1));
            border: 1px solid rgba(52, 211, 153, 0.3);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1rem 0;
        }

        /* Template options styling */
        .template-options {
            margin-top: 0.75rem;
        }

        .template-option {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(52, 211, 153, 0.2);
        }

        .template-option:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .template-option code {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .template-desc {
            color: #2d3748;
            font-size: 0.9rem;
            padding-left: 1rem;
        }

        @media (max-width: 768px) {
            .template-option {
                padding: 0.5rem 0;
            }
            
            .template-desc {
                font-size: 0.85rem;
                padding-left: 0.5rem;
            }
        }

        .warning-box {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1rem 0;
        }

        .footer {
            background: #1a202c;
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 4rem;
        }

        .discord-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #5865f2;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .discord-link:hover {
            background: #4752c4;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
        }

        /* Adboard options styling */
        .adboard-options {
            margin: 1rem 0;
        }

        .adboard-item {
            background: #f8f9fa;
            padding: 1rem;
            margin-bottom: 0.75rem;
            border-radius: 8px;
            border-left: 3px solid #667eea;
            transition: all 0.2s ease;
        }

        .adboard-item:hover {
            background: #edf2f7;
            transform: translateX(4px);
        }

        .adboard-item code {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .adboard-desc {
            display: block;
            color: #4a5568;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .adboard-item {
                padding: 0.75rem;
            }
            
            .adboard-item code {
                font-size: 0.85rem;
                word-break: break-all;
            }
            
            .adboard-desc {
                font-size: 0.85rem;
            }
        }

        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: rgba(102, 126, 234, 0.2);
            z-index: 1000;
        }

        .scroll-progress {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            width: 0%;
            transition: width 0.1s ease;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }
            
            .section {
                padding: 1.5rem;
            }
            
            .code-block {
                font-size: 0.8rem;
            }
        }

.template-link-box {
    background: #e9f5ff;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    border-radius: 6px;
}

.id-reminder {
    font-size: 0.9rem;
    margin-top: 6px;
}


.steps-list {
    padding-left: 1.4rem;
}

    .steps-list li {
        margin-bottom: 0.5rem;
    }

.note-box {
    background: #eaf7ea;
    border-left: 4px solid #28a745;
    padding: 12px 16px;
    border-radius: 5px;
    margin-top: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    transition: all 0.2s ease;
}

    .back-link:hover {
        color: #667eea;
    }



.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

    .feature-list li {
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .feature-list li::before {
            content: '✓';
            color: #10b981;
            font-weight: bold;
        }


.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}


.template-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

    .template-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }

.template-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.template-body {
    padding: 1.5rem;
}

.template-description {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.template-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .template-link:hover {
        background: linear-gradient(135deg, #5a6edb, #6a41a3);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }


.navigation-links {
    display: flex;
    margin-left: 2.0rem;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #f7fafc;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .nav-link:hover {
        background-color: #edf2f7;
        color: #2d3748;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-link i {
        color: #4299e1;
    }

.default-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    .default-table th, .default-table td {
        padding: 0.5rem;
        text-align: left;
        border-bottom: 1px solid #e2e8f0;
    }

    .default-table .id-column,
    .default-table .nationality-column,
    .default-table .position-column {
        width: 1%;
        white-space: nowrap;
    }

    .default-table .name-column {
        width: 100%;
    }

    .default-table th {
        background-color: #f8fafc;
        font-weight: 600;
    }

    .default-table tr:hover {
        background-color: #f1f5f9;
    }

.club-name {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club-icon {
    color: #ffffff;
    font-size: 1.25rem;
}

.club-header {
    background: linear-gradient(90deg, #3182ce, #63b3ed);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem 0.375rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Club players section styling */
.club-card .players-section {
    background: white;
}

.club-card .players-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.club-card .players-header:hover {
    background: #edf2f7;
}

.club-card .players-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.club-card .players-toggle {
    color: #718096;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.club-card .players-content {
    padding: 0 1rem 1rem 1rem;
    transition: all 0.3s ease;
}

.club-card .players-content.collapsed {
    display: none;
}

.club-card .players-header:not(.collapsed) .players-toggle {
    transform: rotate(180deg);
}

.navigation-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #f7fafc;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

    .nav-link:hover {
        background-color: #edf2f7;
        color: #2d3748;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-link i {
        color: #4299e1;
    }

/* New Template Overview Styles */
.template-stats {
    margin-bottom: 2.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-link:hover {
    text-decoration: none;
    color: inherit;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.browse-section {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

.browse-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn i {
    font-size: 2rem;
    min-width: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-text small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.action-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.action-btn.accent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.action-btn.accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* Responsive adjustments for new template styles */
@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-btn {
        padding: 1.25rem;
    }
}
EOF < /dev/null

/* National Teams Styles */
.national-teams-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.national-team-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.country-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.country-flag-large {
    width: 20px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.country-info {
    flex: 1;
}

.country-name-large {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.15rem 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.country-details {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.players-section {
    background: white;
}

.players-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.players-header:hover {
    background: #edf2f7;
}

.players-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.players-toggle {
    color: #718096;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.players-content {
    padding: 0 2rem 2rem 2rem;
    transition: all 0.3s ease;
}

.players-content.collapsed {
    display: none;
}

.players-header:not(.collapsed) .players-toggle {
    transform: rotate(180deg);
}

.no-players {
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 8px;
    margin: 0;
}

/* Responsive adjustments for national teams */
@media (max-width: 768px) {
    .country-header {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
    }
    
    .country-flag-large {
        width: 16px;
        height: 11px;
    }
    
    .country-name-large {
        font-size: 1rem;
    }
    
    .players-header {
        padding: 0.75rem 1rem;
    }
    
    .players-content {
        padding: 0 1rem 1.5rem 1rem;
    }
}
EOF < /dev/null

/* Countries Table Styles */
.countries-table {
    margin-top: 1rem;
}

.countries-table .flag-column {
    width: 60px;
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.countries-table .country-column {
    width: auto;
    min-width: 200px;
}

.countries-table .id-column {
    width: 80px;
    text-align: center;
}

.countries-table .clubs-column {
    width: 120px;
    text-align: center;
    position: relative;
}

.country-row {
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.country-row:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.02) 100%);
    border-left-color: #667eea;
    transform: translateX(4px);
}

.country-row:hover .country-name {
    color: #667eea;
    font-weight: 600;
}

.country-row:hover .row-arrow {
    transform: translateX(4px);
    color: #667eea;
}

.country-name {
    font-weight: 500;
    transition: all 0.2s ease;
}

.clubs-count {
    font-weight: 600;
    color: #4a5568;
}

.row-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #a0aec0;
    transition: all 0.2s ease;
}

.countries-table .country-flag {
    width: 32px;
    height: 21px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Section subtitle styling */
.section-subtitle {
    font-size: 0.95rem;
    color: #718096;
    margin: -0.5rem 0 1.5rem 0;
    font-style: italic;
}

/* Responsive adjustments for countries table */
@media (max-width: 768px) {
    .countries-table {
        font-size: 0.9rem;
    }
    
    .countries-table .flag-column {
        width: 50px;
        padding: 0.5rem 0.25rem;
    }
    
    .countries-table .country-flag {
        width: 28px;
        height: 19px;
    }
    
    .countries-table .id-column {
        width: 60px;
    }
    
    .countries-table .clubs-column {
        width: 100px;
    }
    
    .country-row:hover {
        transform: translateX(2px);
    }
    
    .row-arrow {
        font-size: 0.7rem;
    }
}

/* Active/pressed state for better mobile experience */
.country-row:active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-left-color: #5a67d8;
}
EOF < /dev/null

/* No Players Message Styles */
.no-players-message {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.no-players-message i {
    font-size: 1rem;
    color: #4299e1;
    margin-right: 0.5rem;
}

.no-players-message p {
    margin: 0 0 0.5rem 0;
    color: #4a5568;
}

.no-players-message p:first-child {
    padding-top: 0.5rem;
}

.no-players-message .auto-generate-note {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    margin-top: 0.75rem;
}

/* Responsive adjustments for no players message */
@media (max-width: 768px) {
    .no-players-message {
        padding: 1.5rem;
    }
    
    .no-players-message i {
        font-size: 0.9rem;
    }
}
EOF < /dev/null

/* Team header with flag and separator */
.team-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
}

.team-header:hover {
    background: #edf2f7;
}

.team-flag-section {
    flex-shrink: 0;
    position: relative;
}

.team-flag-section::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    transition: height 0.3s ease;
}

.team-flag {
    width: 20px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.team-info {
    flex: 1;
    padding-left: 0.5rem;
}

.team-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
    transition: all 0.3s ease;
}

.team-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-details p {
    margin: 0;
    font-size: 0.8rem;
    color: #718096;
}

.expand-indicator {
    flex-shrink: 0;
    font-size: 1rem;
    color: #718096;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

/* Expanded state */
.national-team-card:not(.collapsed) .team-header {
    padding: 1.5rem;
}

.national-team-card:not(.collapsed) .team-flag {
    width: 48px;
    height: 32px;
    border-radius: 4px;
}

.national-team-card:not(.collapsed) .team-flag-section::after {
    height: 60px;
}

.national-team-card:not(.collapsed) .team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.national-team-card:not(.collapsed) .team-details {
    opacity: 1;
    max-height: 50px;
}

.national-team-card:not(.collapsed) .expand-indicator {
    transform: rotate(180deg);
}

/* Collapsed state - hide content */
.national-team-card.collapsed .team-content {
    display: none;
}

/* National teams table - use same styling as club tables */
.national-team-card .default-table {
    margin-top: 0.5rem;
}

/* Responsive adjustments for team header */
@media (max-width: 768px) {
    .team-header {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .team-flag-section::after {
        display: none;
    }
    
    .team-flag {
        width: 40px;
        height: 27px;
    }
    
    .team-name {
        font-size: 1.25rem;
    }
}
EOF < /dev/null
