/* === GENEL STİLLER === */
body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* Koyu Mavi Arka Plan (Sadece login sayfası için) */
    background-color: #001f3f;
    /* Lacivert (Navy) */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-weight: 300;
}

* {
    box-sizing: border-box;
}

/* === GİRİŞ/KAYIT FORMU STİLLERİ === */
.login-container {
    background-color: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
    margin: 1rem;
    /* Mobilde kenara yapışmasın */
}

.login-container h2 {
    color: #001f3f;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 2rem;
}

.login-container p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.login-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="search"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004a99;
    box-shadow: 0 0 5px rgba(0, 74, 153, 0.3);
}

.form-group input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #001f3f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

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

.btn-submit:disabled {
    background-color: #888;
    cursor: not-allowed;
}

.error-message,
.success-message,
.message-area {
    border: 1px solid;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.error-message,
.message-area.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    display: block;
}

.success-message,
.message-area.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    display: block;
}

.message-area {
    margin-top: 1rem;
    display: none;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #555;
    font-size: 0.95rem;
}

.login-link a {
    color: #001f3f;
    text-decoration: none;
    font-weight: 700;
}

.login-link a:hover {
    text-decoration: underline;
}

.password-group {
    position: relative;
}

.password-group input[type="password"],
.password-group input[type="text"] {
    padding-right: 40px !important;
}

.password-group i {
    position: absolute;
    right: 15px;
    bottom: 0.9rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.password-group i:hover {
    color: #333;
}

/* === TAM EKRAN PANEL STİLLERİ === */
body.panel-page {
    display: block;
    justify-content: unset;
    align-items: unset;
    background-color: #f4f7f6;
    min-height: auto;
}

.panel-container {
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    background-color: #f4f7f6;
}

.panel-header {
    background-color: #001f3f;
    border-bottom: 1px solid #001a33;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.panel-header span {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-left: 0.25rem;
}

.panel-header span strong {
    color: #ffffff;
}

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

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.panel-body {
    padding: 2.5rem 3rem;
}

/* === SEKME STİLLERİ (Ana ve Alt) === */
.tab-buttons {
    display: flex;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    font-family: 'Roboto', sans-serif;
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    /* Sekmelerin içindeki yazıların kırılmasını engelle (yatay kaydırma için) */
}

.tab-button:hover {
    background-color: #ffffff;
    color: #333;
}

.tab-button.active {
    color: #001f3f;
    font-weight: 700;
    border-bottom-color: #001f3f;
}

.tab-content {
    display: none;
}

.tab-content.active-content {
    display: block;
}

.sub-tabs {
    border-bottom-color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.sub-tab-button {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.6rem 1.2rem;
}

.sub-tab-button.active {
    font-weight: 700;
}

.sub-tab-button span {
    display: inline-block;
    background-color: #e9ecef;
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.sub-tab-button.active span {
    background-color: #001f3f;
    color: #ffffff;
}

.request-list {
    margin-top: 1.5rem;
}

.loading {
    padding: 2rem;
    text-align: center;
    color: #777;
    font-style: italic;
    font-size: 1.2rem;
}

.request-list p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    padding: 2rem;
}

/* === "TALEPLERİM" KARTI (GÜZELLEŞTİRME) === */
.request-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.request-card .card-icon-area {
    font-size: 2rem;
    color: #001f3f;
    padding: 1rem;
    background-color: #f4f7f6;
    border-radius: 8px;
}

.request-card .card-content {
    flex: 1;
}

.request-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #001f3f;
    font-size: 1.2rem;
}

.request-card .meta {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.request-card .meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.request-card .meta strong {
    color: #333;
}

.request-card .assigned-category {
    font-size: 0.9rem;
    font-style: italic;
    color: #28a745;
    margin: 0;
}

.request-card .reason {
    font-size: 0.9rem;
    color: #721c24;
    background-color: #fff3f3;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0;
}

/* === ADMİN KART STİLLERİ === */
.admin-content .request-card {
    display: block;
}

.admin-content .request-card .meta {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.admin-content .request-card .card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
}

.admin-content .request-card .btn-approve {
    background-color: #28a745;
    color: white;
}

.admin-content .request-card .btn-approve:hover {
    background-color: #218838;
}

.admin-content .request-card .btn-reject {
    background-color: #d9534f;
    color: white;
    margin-left: 0.5rem;
}

.admin-content .request-card .btn-reject:hover {
    background-color: #c9302c;
}

.admin-content .reject-form {
    margin-top: 1rem;
    display: none;
}

.admin-content .reject-form textarea {
    margin-bottom: 0.5rem;
}

.admin-content .rejected-card .reason {
    background-color: #fff3f3;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: #721c24;
    font-style: italic;
    margin-top: 1rem;
}

/* === Durum Etiketleri (Status Badge) === */
.status-badge {
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.status-pending {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffe69c;
}

.status-approved {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === "EKLENENLER" FİLTRE FORMU (Güzelleştirme) === */
.filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.filter-form .form-group {
    margin-bottom: 0;
}

.filter-form .form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: #333;
}

.filter-form input,
.filter-form select {
    background-color: #f8f9fa;
}

/* === Güzelleştirme: "EKLENENLER" GRİD YAPISI === */
#addedList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    border: none;
    margin-top: 1rem;
}

/* === Güzelleştirme: "EKLENENLER" KARTI === */
.content-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.content-card .card-icon-area {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 2rem 0;
    color: #001f3f;
    background-color: #f8f9fa;
}

.content-card .card-icon-area.icon-dizi {
    background-color: #f3f6ff;
    color: #003366;
}

.content-card .card-icon-area.icon-film {
    background-color: #fffaf3;
    color: #664d03;
}

.content-card .card-content {
    padding: 1.5rem;
}

.content-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #001f3f;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-card .card-category {
    font-size: 0.9rem;
    font-weight: 700;
    color: #28a745;
    margin: 0 0 1rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-card .card-date {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* === Admin Onay Modalı === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
}

.modal-content h3 {
    margin-top: 0;
    color: #001f3f;
}

.modal-content input:disabled {
    background-color: #e9ecef;
    color: #555;
}

.modal-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* === Admin Dashboard İstatistik Kartları === */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

.stat-card p {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: #001f3f;
}

.stat-card p.loading {
    font-size: 2.25rem;
    color: #ccc;
}

.stat-card .stat-subtext {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}

/* === Kullanıcı Yönetim Listesi === */
.user-list-container {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 1.5rem;
}

.user-list-table {
    width: 100%;
    border-collapse: collapse;
}

.user-list-table th,
.user-list-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.user-list-table th {
    background-color: #f8f9fa;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
}

.user-list-table td {
    font-size: 0.95rem;
}

.user-list-table td .username {
    font-weight: 700;
    color: #001f3f;
}

.user-list-table td .user-date {
    font-size: 0.9rem;
    color: #666;
}

.user-list-table td .btn-ban {
    background-color: #d9534f;
    color: white;
}

.user-list-table td .btn-unban {
    background-color: #28a745;
    color: white;
}

.user-list-table tr.banned-user td {
    background-color: #fff3f3;
    opacity: 0.7;
}

.user-list-table tr.banned-user .username {
    color: #721c24;
    text-decoration: line-through;
}

/* === Kategori Yönetimi === */
.category-manager-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .category-manager-container {
        grid-template-columns: 1fr;
    }
}

.category-column {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-column h4 {
    margin: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    color: #001f3f;
}

.category-column h4 i {
    margin-right: 8px;
    color: #555;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid #f4f7f6;
    font-size: 0.95rem;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li .category-name {
    font-weight: 500;
    word-break: break-all;
    /* Uzun kategori adları taşmasın */
}

.category-list li .category-actions {
    display: flex;
    gap: 0.5rem;
}

.category-list li .btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.category-list li .btn-edit {
    color: #004a99;
}

.category-list li .btn-edit:hover {
    background-color: #f3f6ff;
}

.category-list li .btn-delete {
    color: #d9534f;
}

.category-list li .btn-delete:hover {
    background-color: #fff3f3;
}

/* === Canlı Arama Sonuçları === */
#create .form-group {
    position: relative;
}

.live-search-results {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
}

.live-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background-color: #f8f9fa;
}

.live-search-item .item-info {
    flex: 1;
    margin-right: 1rem;
    overflow: hidden;
    /* Taşmaları engelle */
}

.live-search-item .item-info .title {
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-item .item-info .status {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-item .status-badge {
    padding: 3px 8px;
    font-size: 0.75rem;
}

.live-search-item .item-action .btn-vote {
    background-color: #001f3f;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.live-search-item .item-action .btn-vote:hover {
    background-color: #003366;
}

/* === Kota Göstergesi === */
.quota-container {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 600px;
    margin-bottom: 1rem;
}

.quota-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.75rem;
}

.quota-bar {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 20px;
    height: 12px;
    overflow: hidden;
}

.quota-fill {
    height: 100%;
    width: 0%;
    background-color: #28a745;
    border-radius: 20px;
    transition: width 0.3s ease-out;
}

.quota-fill.full {
    background-color: #d9534f;
}

.quota-text {
    text-align: right;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-top: 0.5rem;
}

/* === MOBİL UYUMLULUK (Responsive) === */
@media (max-width: 768px) {

    h2,
    .login-container h2 {
        font-size: 1.75rem;
        /* Başlıkları küçült */
    }

    /* Giriş kutusunu küçült */
    .login-container {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }

    /* Panellerin kenar boşluklarını azalt */
    .panel-header,
    .panel-body {
        padding: 1.5rem;
    }

    /* Panel başlığını dikey yap */
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .panel-header .header-right {
        width: 100%;
    }

    .panel-header .btn-logout {
        width: 100%;
        text-align: center;
    }

    /* SEKME KAYDIRMA (En önemlisi) */
    .tab-buttons.main-tabs {
        flex-wrap: nowrap;
        /* Asla alt satıra geçme */
        overflow-x: auto;
        /* Yatayda kaydır */
        white-space: nowrap;
        padding-bottom: 2px;
        /* Kaydırma çubuğu için */
        /* Kaydırma çubuğunu gizleme (görsel hile) */
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .tab-buttons.main-tabs::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    /* Taleplerim kartını dikey yap */
    .request-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .request-card .card-icon-area {
        align-self: flex-start;
        /* İkonu başa al */
    }

    .request-card .meta {
        flex-direction: column;
        /* Meta bilgileri (durum, tarih) alt alta */
        gap: 0.5rem;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .request-card .assigned-category,
    .request-card .reason {
        margin-top: 1rem;
        border-top: 1px dashed #ddd;
        padding-top: 1rem;
        width: 100%;
    }

    .admin-content .request-card .meta {
        margin-top: 1rem;
        border-top: 1px dashed #ddd;
        padding-top: 1rem;
    }

    /* Kullanıcı Tablosunu yatay kaydır */
    .user-list-container {
        overflow-x: auto;
        white-space: nowrap;
    }

    .user-list-table {
        width: auto;
        /* Tabloyu sığdırmaya zorlama */
    }

    /* Modal (Popup) */
    .modal-content {
        padding: 1.5rem;
    }
}
/* === YENİ: Hızlı Red Sebepleri (Bekleyen Talepler) === */
.quick-reasons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.loading-small {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.btn-quick-reason {
    background-color: #f4f7f6;
    border: 1px solid #dee2e6;
    color: #001f3f;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.btn-quick-reason:hover {
    background-color: #e9ecef;
}
/* === Dizi Detay Modalı === */
.series-modal-content {
    max-width: 800px; /* Daha geniş */
    width: 90%;
    max-height: 85vh; /* Ekranın %85'i kadar yükseklik */
    overflow-y: auto; /* İçerik taşarsa kaydır */
    padding: 0; /* Padding'i sıfırla, içeriği biz yöneteceğiz */
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}
.close-modal-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
}

/* Sezon Butonları */
.season-tabs {
    display: flex;
    gap: 10px;
    padding: 1rem 1.5rem;
    background-color: #fff;
    overflow-x: auto; /* Sezonlar çoksa yana kaydır */
    border-bottom: 1px solid #e9ecef;
}
.btn-season {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    color: #555;
}
.btn-season:hover {
    background-color: #f0f0f0;
}
.btn-season.active {
    background-color: #001f3f;
    color: #fff;
    border-color: #001f3f;
}

/* Bölüm Listesi */
.episode-list {
    padding: 1.5rem;
}
.episode-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f4f4f4;
}
.episode-item:last-child {
    border-bottom: none;
}
.episode-item:hover {
    background-color: #f9f9f9;
}
.episode-title {
    font-weight: 500;
}
.btn-watch {
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
}
.btn-watch:hover {
    background-color: #218838;
}
/* === WEB PLAYER STİLLERİ === */
.video-wrapper {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.video-js {
    width: 100%;
    height: 450px;
    /* Player yüksekliği */
}

.player-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 1rem;
}

.iptv-content-browser {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1 birim kategori, 2 birim kanal */
    gap: 1.5rem;
    height: 500px;
    /* Sabit yükseklik */
}

.iptv-column {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iptv-column h4 {
    margin: 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #001f3f;
}

.iptv-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    /* İçerik taşarsa kaydır */
    flex: 1;
}

.iptv-column li {
    padding: 10px 15px;
    border-bottom: 1px solid #f4f4f4;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.iptv-column li:hover {
    background-color: #f0f8ff;
}

.iptv-column li.active {
    background-color: #001f3f;
    color: #fff;
}

/* Mobilde player */
@media (max-width: 768px) {
    .iptv-content-browser {
        grid-template-columns: 1fr;
        /* Alt alta */
        height: auto;
    }

    .iptv-column {
        height: 300px;
        /* Mobilde listeler daha kısa */
    }

    .video-js {
        height: 250px;
    }
}