/* Modern Channel List Styles */
.channels-header {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.channels-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="channelsGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23channelsGrain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.channels-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.channels-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.channels-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.channels-table-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.channels-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.channels-table thead {
    background: #007bff;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.channels-table thead th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    position: relative;
}

.channels-table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.channels-table tbody tr {
    transition: background 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.channels-table tbody tr:hover {
    background: rgba(13, 110, 253, 0.05);
}

.channels-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.channels-table tbody tr:nth-child(even):hover {
    background: rgba(13, 110, 253, 0.05);
}

.channels-table td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.channel-number {
    font-weight: 700;
    color: #007bff;
    text-align: center;
    min-width: 50px;
}

.channel-logo {
    text-align: center;
    min-width: 80px;
}

.channel-logo img {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.channel-logo img:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.channel-name {
    font-weight: 600;
    color: #343a40;
    min-width: 200px;
}

.channel-packages {
    min-width: 200px;
    max-width: 250px;
    word-wrap: break-word;
}

.package-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0.1rem 0.1rem 0.1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
}

.channel-language {
    text-align: center;
    min-width: 80px;
}

.language-badge {
    background: #17a2b8;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.channel-audio {
    text-align: center;
    min-width: 80px;
}

.audio-badge {
    background: #ffc107;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.channel-video {
    text-align: center;
    min-width: 80px;
}

.video-badge {
    background: #dc3545;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.channel-type {
    text-align: center;
    min-width: 100px;
}

.type-badge {
    background: #6c757d;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.channel-guaranteed {
    text-align: center;
    min-width: 100px;
}

.guaranteed-badge {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.guaranteed-badge.no {
    background: #dc3545;
}

.search-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 2rem;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

@media (max-width: 768px) {
    .channels-title {
        font-size: 2rem;
    }

    .channels-header {
        padding: 2rem 1.5rem;
    }

    .channels-table-container {
        overflow-x: auto;
    }

    .channels-table {
        min-width: 800px;
    }

    .channels-table thead th,
    .channels-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    .channel-logo img {
        max-width: 40px;
    }

    .search-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .channels-title {
        font-size: 1.8rem;
    }

    .channels-table {
        min-width: 600px;
    }

    .channels-table thead th,
    .channels-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }

    .channel-logo img {
        max-width: 30px;
    }

    .package-badge,
    .language-badge,
    .audio-badge,
    .video-badge,
    .type-badge,
    .guaranteed-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}
