/* === GENEL STİLLER === */
body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #001f3f;
    color: #333;
    min-height: 100vh;
}

body.panel-page {
    background-color: #f4f7f6;
}

* {
    box-sizing: border-box;
}

/* === GİRİŞ/KAYIT SAYFASI (PREMIUM) === */

/* Auth page background */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #0a0e27, #1a1a4e, #0d2137, #0a2540);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles */
.auth-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.auth-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.auth-particles .particle:nth-child(1) {
    left: 10%;
    animation-duration: 18s;
    animation-delay: 0s;
    width: 4px;
    height: 4px;
}

.auth-particles .particle:nth-child(2) {
    left: 25%;
    animation-duration: 22s;
    animation-delay: 2s;
    width: 6px;
    height: 6px;
}

.auth-particles .particle:nth-child(3) {
    left: 45%;
    animation-duration: 16s;
    animation-delay: 4s;
    width: 3px;
    height: 3px;
}

.auth-particles .particle:nth-child(4) {
    left: 65%;
    animation-duration: 20s;
    animation-delay: 1s;
    width: 5px;
    height: 5px;
}

.auth-particles .particle:nth-child(5) {
    left: 80%;
    animation-duration: 24s;
    animation-delay: 3s;
    width: 7px;
    height: 7px;
}

.auth-particles .particle:nth-child(6) {
    left: 92%;
    animation-duration: 19s;
    animation-delay: 5s;
    width: 4px;
    height: 4px;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20vh) rotate(720deg);
        opacity: 0;
    }
}

/* Wrapper */
.auth-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
}

/* Glass card */
.auth-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Branding */
.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-wrapper {
    margin-bottom: 1rem;
}

.auth-logo {
    max-width: 160px;
    max-height: 100px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.auth-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.auth-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 400;
}

/* Alerts */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    animation: alertSlide 0.3s ease;
}

@keyframes alertSlide {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.auth-alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-input-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s;
    outline: none;
}

.auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.auth-input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.auth-input-group input:focus~.auth-input-icon,
.auth-input-group input:focus+.auth-input-icon,
.auth-input-group:focus-within .auth-input-icon {
    color: #3b82f6;
}

.auth-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 6px;
    transition: color 0.2s;
    z-index: 2;
}

.auth-toggle-password:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Submit button */
.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.25rem;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.auth-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #93bbfc;
    text-decoration: underline;
}

/* Copyright */
.auth-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* Legacy login-container styles (keep for backward compat) */
.login-container {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 95%;
    margin: 80px auto;
    text-align: center;
}

.login-container h2 {
    font-size: 1.75rem;
    color: #001f3f;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.dealer-logo-wrapper {
    margin-bottom: 1.5rem;
}

.dealer-logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.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;
}

/* === FORM === */
.form-group {
    margin-bottom: 1.25rem;
    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;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #001f3f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: #001f3f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #003366;
}

/* === MESAJLAR === */
.error-message,
.message-area.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
}

.success-message,
.message-area.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
}

.message-area {
    margin-top: 1rem;
    display: none;
}

/* === PANEL YAPISI === */
.panel-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.panel-header {
    background-color: #001f3f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.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-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.panel-body {
    padding: 2rem 3rem;
}

/* === SEKMELER === */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.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;
    color: #001f3f;
    border-bottom-color: #001f3f;
}

/* === TALEP KARTLARI === */
.request-list {
    margin-top: 1rem;
}

.request-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    color: #001f3f;
    padding: 1rem;
    background-color: #f4f7f6;
    transition: box-shadow 0.2s;
}

.request-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.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: 5px;
}

.request-card .assigned-category {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 700;
    margin-top: 6px;
}

.request-card .reason {
    background-color: #fff3f3;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: #721c24;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.rejected-card {
    border-color: #f5c6cb;
    background-color: #fffbfb;
}

/* === STATUS BADGE'LERİ === */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-pending {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffeeba;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === FİLTRE FORMU === */
.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;
}

/* === EKLENENLER GRİD === */
#addedList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    border: none;
    margin-top: 1rem;
}

.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;
}

.content-card .card-date {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* === İSTATİSTİK KARTLARI === */
.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;
}

/* === KOTA GÖSTERGESİ === */
.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;
}

/* === CANLI ARAMA === */
.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;
}

.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;
}

.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;
}

/* === 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;
}

.series-modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
}

.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;
    color: #001f3f;
}

.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;
    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;
}

/* === BAYİ BADGE === */
.dealer-badge-header {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #004a99);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 8px;
}

/* === LOADING === */
.loading {
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 2rem;
}

.loading-small {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* ============================================================
   DARK PANEL THEME — Matches premium login design
   ============================================================ */

body.dark-panel {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #0a0e27, #111638, #0d1b2a, #0a1628);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: #e0e6ed;
    min-height: 100vh;
}

/* --- Header --- */
.dark-panel .panel-header {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 2.5rem;
}

.dark-panel .panel-header h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
}

.dark-panel .panel-header span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.dark-panel .panel-header span strong {
    color: #60a5fa;
}

.dark-panel .btn-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    font-family: 'Inter', sans-serif;
    border-radius: 10px;
    padding: 0.55rem 1.2rem;
    transition: all 0.25s;
}

.dark-panel .btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fff;
}

/* --- Panel Body --- */
.dark-panel .panel-body {
    padding: 2rem 2.5rem;
}

.dark-panel .panel-body h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.dark-panel .panel-body p {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Tabs --- */
.dark-panel .tab-buttons {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
    margin-bottom: 2rem;
}

.dark-panel .tab-button {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    padding: 0.7rem 1.3rem;
    border-bottom: 3px solid transparent;
    transition: all 0.25s;
}

.dark-panel .tab-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
}

.dark-panel .tab-button.active {
    color: #60a5fa;
    font-weight: 700;
    border-bottom-color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
}

.dark-panel .sub-tabs {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-panel .sub-tab-button,
.dark-panel .sub-tab-button.active {
    color: rgba(255, 255, 255, 0.45);
}

.dark-panel .sub-tab-button.active {
    color: #60a5fa;
    border-bottom-color: #3b82f6;
}

/* --- Stat Cards --- */
.dark-panel .stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dark-panel .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark-panel .stat-card h4 {
    color: rgba(255, 255, 255, 0.55);
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.dark-panel .stat-card p {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* --- Request Cards --- */
.dark-panel .request-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e0e6ed;
    transition: all 0.25s;
}

.dark-panel .request-card:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
}

.dark-panel .request-card h4 {
    color: #ffffff;
}

.dark-panel .request-card .meta {
    color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-panel .request-card .assigned-category {
    color: #34d399;
}

.dark-panel .request-card .reason {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.dark-panel .rejected-card {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.04);
}

/* --- Status Badges --- */
.dark-panel .status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.25);
}

.dark-panel .status-approved {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.25);
}

.dark-panel .status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.25);
}

/* --- Form Inputs --- */
.dark-panel .form-group label {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.dark-panel .form-group input[type="text"],
.dark-panel .form-group input[type="password"],
.dark-panel .form-group input[type="search"],
.dark-panel .form-group input[type="tel"],
.dark-panel .form-group select,
.dark-panel .form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    padding: 0.85rem 1rem;
}

.dark-panel .form-group input::placeholder,
.dark-panel .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.dark-panel .form-group input:focus,
.dark-panel .form-group select:focus,
.dark-panel .form-group textarea:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.dark-panel .form-group select option {
    background: #1a1f3a;
    color: #e0e6ed;
}

.dark-panel .btn-submit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    transition: all 0.3s;
    padding: 0.9rem;
}

.dark-panel .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* --- Messages --- */
.dark-panel .error-message,
.dark-panel .message-area.error-message {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.dark-panel .success-message,
.dark-panel .message-area.success-message {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

/* --- Quota --- */
.dark-panel .quota-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.dark-panel .quota-label {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
}

.dark-panel .quota-bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.dark-panel .quota-fill {
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    border-radius: 12px;
}

.dark-panel .quota-fill.full {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.dark-panel .quota-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
}

/* --- Filter Form --- */
.dark-panel .filter-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: none;
}

/* --- Content Cards (Eklenenler) --- */
.dark-panel .content-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-panel .content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-panel .content-card .card-icon-area {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
}

.dark-panel .content-card .card-icon-area.icon-dizi {
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
}

.dark-panel .content-card .card-icon-area.icon-film {
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
}

.dark-panel .content-card h4 {
    color: #ffffff;
}

.dark-panel .content-card .card-category {
    color: #34d399;
}

.dark-panel .content-card .card-date {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Live Search --- */
.dark-panel .live-search-results {
    background: #1a1f3a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-radius: 0 0 12px 12px;
}

.dark-panel .live-search-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-panel .live-search-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dark-panel .live-search-item .item-info .title {
    color: #ffffff;
}

.dark-panel .live-search-item .item-action .btn-vote {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 8px;
}

/* --- User List Table --- */
.dark-panel .user-list-table {
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.dark-panel .user-list-table thead tr {
    background: rgba(255, 255, 255, 0.05);
}

.dark-panel .user-list-table th {
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.dark-panel .user-list-table td {
    color: #e0e6ed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dark-panel .user-list-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.dark-panel .user-list-table .username {
    color: #60a5fa;
    font-weight: 600;
}

.dark-panel .user-list-table .user-date {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Modals --- */
.dark-panel .modal-content {
    background: #1a1f3a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: #e0e6ed;
}

.dark-panel .modal-content h3 {
    color: #ffffff;
}

.dark-panel .series-modal-content {
    background: #1a1f3a;
}

.dark-panel .modal-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-panel .modal-header h3 {
    color: #ffffff;
}

.dark-panel .close-modal-btn {
    color: rgba(255, 255, 255, 0.5);
}

.dark-panel .close-modal-btn:hover {
    color: #ffffff;
}

.dark-panel .season-tabs {
    background: rgba(255, 255, 255, 0.02);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-panel .btn-season {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.dark-panel .btn-season:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-panel .btn-season.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
    color: #fff;
}

.dark-panel .episode-item {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.dark-panel .episode-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.dark-panel .episode-title {
    color: #e0e6ed;
}

.dark-panel .btn-watch {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 8px;
}

/* --- Loading --- */
.dark-panel .loading {
    color: rgba(255, 255, 255, 0.35);
}

.dark-panel .loading-small {
    color: rgba(255, 255, 255, 0.35);
}

/* --- Dealer Badge --- */
.dark-panel .dealer-badge-header {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* --- Announcement Banner (dark) --- */
.dark-panel .announcement-banner-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e0e6ed !important;
}

/* --- Scrollbar --- */
.dark-panel ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dark-panel ::-webkit-scrollbar-track {
    background: transparent;
}

.dark-panel ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

.dark-panel ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   MOBİL UYUMLULUK
   ============================================================ */
@media (max-width: 768px) {

    h2,
    .login-container h2 {
        font-size: 1.75rem;
    }

    .login-container {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }

    .panel-header,
    .panel-body {
        padding: 1.25rem;
    }

    .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;
    }

    .tab-buttons.main-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 2px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-buttons.main-tabs::-webkit-scrollbar {
        display: none;
    }

    .request-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .request-card .meta {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .user-cards-grid {
        grid-template-columns: 1fr;
    }

    .user-card-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .user-status {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .user-card-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-summary-bar {
        flex-wrap: wrap;
    }
}

/* === KULLANICI KARTLARI (Premium Dark) === */

.user-summary-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.user-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #8899aa;
    font-size: 0.9rem;
}

.user-summary-item strong {
    color: #fff;
    font-size: 1.1rem;
}

.user-summary-item i {
    font-size: 1rem;
}

.user-summary-item.active i {
    color: #28a745;
}

.user-summary-item.banned i {
    color: #d9534f;
}

.user-summary-item.admin i {
    color: #667eea;
}

.user-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.user-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.user-card-admin {
    border-color: rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(118, 75, 162, 0.04));
}

.user-card-banned {
    opacity: 0.6;
    border-color: rgba(217, 83, 79, 0.2);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a5f, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
}

.user-avatar.avatar-admin {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
    color: #e8eaf0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card .user-date {
    font-size: 0.8rem;
    color: #667788;
    margin-top: 2px;
}

.user-card .user-date i {
    margin-right: 4px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    vertical-align: middle;
}

.admin-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.admin-badge i {
    font-size: 0.6rem;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.user-status.status-active {
    background: rgba(40, 167, 69, 0.15);
    color: #5cb85c;
}

.user-status.status-banned {
    background: rgba(217, 83, 79, 0.15);
    color: #e74c3c;
}

.user-card-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-stat {
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.user-stat .stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #c8d0dc;
}

.user-stat .stat-label {
    display: block;
    font-size: 0.7rem;
    color: #667788;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.user-stat.pending .stat-number {
    color: #f0ad4e;
}

.user-stat.approved .stat-number {
    color: #5cb85c;
}

.user-stat.rejected .stat-number {
    color: #d9534f;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #667788;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

.empty-state.error {
    color: #d9534f;
}

.empty-state.error i {
    opacity: 0.7;
}