/* === TEMEL STİLLER === */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #0f0d17;
    color: #e0e1dd;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sidebar {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    background-color: #1a1726;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    position: fixed;
    left: 0;
    top: 0;
    box-sizing: border-box;
    border-right: 1px solid #2a2438;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a, .bottom-links a {
    color: #7f8ea3;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a.active, .nav-links a:hover, .bottom-links a:hover {
    color: #fff;
    background-color: #6754a9;
}

.bottom-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-links svg, .bottom-links svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    color: currentColor;
}

.nav-links .ti, .bottom-links .ti {
    width: 22px;
    height: 22px;
    font-size: 22px;
    color: currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    margin-left: 60px;
    width: calc(100% - 60px);
    padding: 0;
}

.home-content {
    padding: 30px;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px);
}

.home-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #2a2438;
}

.home-header h1 {
    font-size: 32px;
    margin: 0 0 8px 0;
    color: #e0e1dd;
    font-weight: 700;
}

.home-header p {
    margin: 0;
    color: #7f8ea3;
    font-size: 16px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #1a1726;
    height: 40px;
    border-bottom: 1px solid #2a2438;
}

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

.header-right a {
    color: #7f8ea3;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-right a:hover {
    color: #fff;
    background-color: #6754a9;
}

.header-right svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: currentColor;
}

/* Kullanıcı Menüsü */
.user-menu {
    position: relative;
}

.user-menu #user-menu-btn {
    color: #7f8ea3;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.user-menu #user-menu-btn:hover {
    border-color: #6754a9;
    background-color: rgba(103, 84, 169, 0.1);
}

.user-menu #user-menu-btn #user-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: currentColor;
}

.user-menu #user-menu-btn #user-header-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(135deg, #1a1726 0%, #221c33 100%);
    border: 1px solid #2a2438;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    min-width: 280px;
    width: max-content;
    max-width: 400px;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid #2a2438;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    width: 100%;
    box-sizing: border-box;
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #6754a9 0%, #4f46e5 100%);
    border: 3px solid #6754a9;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(103, 84, 169, 0.3);
    transition: transform 0.3s ease;
}

.user-info:hover .user-avatar {
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    color: #e0e1dd;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.user-discriminator {
    font-size: 12px;
    color: #7f8ea3;
    font-weight: 400;
}

.user-actions {
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.user-action-btn {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 220px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.12) 0%, rgba(79, 70, 229, 0.08) 100%);
    border: 1.5px solid rgba(103, 84, 169, 0.25);
    border-radius: 12px;
    color: #e0e1dd !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0.2px;
    min-height: 44px;
    white-space: nowrap;
}

.user-action-btn[style*="none"] {
    display: none !important;
}


.user-action-btn span {
    color: #e0e1dd;
    position: relative;
    z-index: 2;
    flex: 0 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
}

.user-action-btn i {
    width: 18px;
    height: 18px;
    color: currentColor;
    stroke-width: 2.5;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.user-action-btn:hover {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.22) 0%, rgba(79, 70, 229, 0.18) 100%);
    border-color: #6754a9;
    color: #fff !important;
}

.user-action-btn:hover span {
    color: #fff;
}

.user-action-btn:hover i {
    color: #fff;
}

/* Discord giriş butonu özel stil */
#login-btn {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(103, 84, 169, 0.15) 100%);
    border-color: rgba(88, 101, 242, 0.4);
}

#login-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3) 0%, rgba(103, 84, 169, 0.25) 100%);
    border-color: #5865f2;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3), 0 0 0 1px rgba(88, 101, 242, 0.1);
}

/* Çıkış butonu özel stil */
#logout-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

#logout-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3), 0 0 0 1px rgba(239, 68, 68, 0.1);
}

/* Seri Listesi Sayfası */
.series-list-content {
    padding: 30px;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px);
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 10px;
}

.filter-item {
    position: relative;
}

.filter-item-search {
    flex: 1;
    min-width: 180px;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search-icon {
    position: absolute;
    left: 10px;
    width: 14px;
    height: 14px;
    color: #7f8ea3;
    pointer-events: none;
}

.filter-input {
    width: 100%;
    padding: 6px 10px;
    padding-left: 32px;
    padding-right: 32px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 6px;
    color: #e0e1dd;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    min-height: 32px;
}

.filter-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.filter-clear {
    position: absolute;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-clear:hover {
    background-color: rgba(103, 84, 169, 0.1);
    color: #6754a9;
}

.filter-clear i {
    width: 16px;
    height: 16px;
}

.series-list-results {
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    padding: 24px;
}

.results-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2438;
}

.results-count {
    font-size: 14px;
    color: #7f8ea3;
    font-weight: 500;
}

.results-count span {
    color: #6754a9;
    font-weight: 600;
}

/* Kütüphane Sayfası */
.library-content {
    padding: 30px;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px);
}

.library-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2438;
}

.library-header h1 {
    font-size: 28px;
    margin: 0 0 8px 0;
    color: #e0e1dd;
    font-weight: 700;
}

.library-header p {
    margin: 0;
    color: #7f8ea3;
    font-size: 14px;
}

.library-results {
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    padding: 24px;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* === PANEL GENEL STİLLERİ === */
.admin-panel {
    display: none;
    padding: 30px;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px); /* header yüksekliği + border */
}

.admin-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2438;
}

.panel-header h2 {
    font-size: 28px;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e1dd;
    font-weight: 600;
}

.panel-header p {
    color: #7f8ea3;
    margin: 0;
    font-size: 16px;
}

.panel-header-with-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.panel-title-group {
    flex: 1;
}

/* === BUTON STİLLERİ === */
.btn-primary, .btn-secondary {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6754a9 0%, #5a4891 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 84, 169, 0.3);
}

.btn-secondary {
    background-color: #2a2438;
    color: #e0e1dd;
    border: 1px solid #3a3448;
}

.btn-secondary:hover {
    background-color: #3a3448;
    border-color: #6754a9;
}

/* === SERİ LİSTESİ STİLLERİ === */
.series-table-wrapper {
    margin-top: 24px;
}

.series-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.series-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: #7f8ea3;
    font-size: 14px;
    padding: 40px 20px;
    background-color: #1a1726;
    border-radius: 12px;
    border: 1px dashed #2a2438;
}

/* === TÜR SEÇİCİ PANEL === */
.genre-selector-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.genre-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    min-height: 44px;
}

.genre-search-box:focus-within {
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
    background-color: #1a1726;
}

.genre-search-box .search-icon {
    width: 18px;
    height: 18px;
    color: #7f8ea3;
    flex-shrink: 0;
    margin-left: 2px;
    margin-right: 8px;
}

.genre-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 0;
    font-family: "Poppins", sans-serif;
    width: 100%;
}

.genre-search-input:focus {
    outline: none;
}

.genre-search-input::placeholder {
    color: #7f8ea3;
}

.genre-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
    margin-right: 12px;
    padding: 0;
}

.genre-search-clear.show {
    display: flex;
}

.genre-search-clear:hover {
    background-color: rgba(103, 84, 169, 0.1);
    color: #6754a9;
}

.genre-search-clear i {
    width: 16px;
    height: 16px;
}

.genre-selector-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.genre-selector-btn:hover {
    background-color: #221c33;
    border-color: #6754a9;
    color: #fff;
}

.genre-selector-btn i {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.genre-selector-btn .chevron-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.genre-selector-btn.active .chevron-icon {
    transform: rotate(180deg);
}

.genre-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.genre-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.genre-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.genre-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.genre-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2a2438;
}

.genre-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #e0e1dd;
}

.genre-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.genre-panel-close:hover {
    background-color: rgba(103, 84, 169, 0.1);
    color: #6754a9;
}

.genre-panel-close i {
    width: 20px;
    height: 20px;
}

.genre-panel-search {
    padding: 16px 20px;
    border-bottom: 1px solid #2a2438;
}

.genre-panel-search .genre-search-box {
    width: 100%;
    background-color: #1a1726;
    border: 1px solid #2a2438;
}

.genre-panel-search .genre-search-box:focus-within {
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
    background-color: #1a1726;
}

.genre-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.genre-panel-content::-webkit-scrollbar {
    width: 6px;
}

.genre-panel-content::-webkit-scrollbar-track {
    background: #0f0d17;
}

.genre-panel-content::-webkit-scrollbar-thumb {
    background: #6754a9;
    border-radius: 3px;
}

.genre-panel-content::-webkit-scrollbar-thumb:hover {
    background: #7a66c4;
}

.genre-panel-loading,
.genre-panel-empty {
    text-align: center;
    color: #7f8ea3;
    font-size: 14px;
    padding: 40px 20px;
}

.genre-item-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    text-align: left;
}

.genre-item-btn:hover {
    background-color: #221c33;
    border-color: #6754a9;
    color: #fff;
    transform: translateX(4px);
}

.genre-item-btn.active {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.2) 0%, rgba(90, 72, 145, 0.2) 100%);
    border-color: #6754a9;
    color: #a78bfa;
}

.genre-item-btn i {
    width: 18px;
    height: 18px;
    color: currentColor;
    flex-shrink: 0;
}

.genre-item-btn span {
    flex: 1;
}

.series-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #7f8ea3;
    font-size: 14px;
    padding: 40px 20px;
}

/* Responsive - Tür Seçici Panel */
@media (max-width: 768px) {
    .genre-selector-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .genre-panel {
        width: 95%;
        max-height: 85vh;
    }
    
    .genre-panel-header {
        padding: 16px;
    }
    
    .genre-panel-header h3 {
        font-size: 16px;
    }
    
    .genre-panel-search {
        padding: 12px 16px;
    }
    
    .genre-panel-content {
        padding: 10px 16px 16px;
    }
    
    .genre-item-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* === SERİ KARTLARI === */
.series-card {
    background-color: #1a1726;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2438;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.series-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(103, 84, 169, 0.2);
    border-color: #6754a9;
}

.series-cover {
    position: relative;
    width: 100%;
    padding-top: 140%; /* 5:7 oranı (manga kapak oranı) */
    overflow: hidden;
    background-color: #0f0d17;
}

.series-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-card:hover .series-cover img {
    transform: scale(1.05);
}

.series-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    background-color: rgba(26, 23, 38, 0.8);
    color: #e0e1dd;
}

.series-status-badge.ongoing {
    background-color: rgba(103, 84, 169, 0.25);
    color: #a78bfa;
    border: 1px solid rgba(103, 84, 169, 0.4);
}

.series-status-badge.completed {
    background-color: rgba(79, 70, 229, 0.25);
    color: #818cf8;
    border: 1px solid rgba(79, 70, 229, 0.4);
}

.series-status-badge.paused {
    background-color: rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.series-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.series-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #e0e1dd;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-original-name {
    margin: 0;
    font-size: 13px;
    color: #7f8ea3;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.series-type,
.series-year {
    font-size: 12px;
    color: #7f8ea3;
    padding: 4px 8px;
    background-color: #0f0d17;
    border-radius: 4px;
}

.series-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2438;
}

.btn-edit,
.btn-delete {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #7f8ea3;
}

.btn-edit {
    border: 1px solid #2a2438;
}

.btn-edit:hover {
    background-color: #2a2438;
    color: #6754a9;
    border-color: #6754a9;
}

.btn-delete {
    border: 1px solid #2a2438;
}

.btn-delete:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.btn-edit svg,
.btn-delete svg {
    width: 18px;
    height: 18px;
}

/* === SERİ DETAY SAYFASI === */
.series-detail-page {
    padding: 0;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px);
}

/* 404 Sayfası */
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    text-align: center;
    padding: 40px 20px;
}

.error-404 h1 {
    font-size: 120px;
    margin: 0;
    color: #6754a9;
    font-weight: 700;
}

.error-404 p {
    font-size: 24px;
    color: #7f8ea3;
    margin: 20px 0 40px 0;
}

/* Seri Header */
.series-header {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #1a1726 0%, #0f0d17 100%);
    border-bottom: 1px solid #2a2438;
}

.series-cover-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.series-cover-large {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    aspect-ratio: 5 / 7;
    background-color: #1a1726;
}

.series-cover-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.series-status-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.status-badge.ongoing {
    background-color: rgba(103, 84, 169, 0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(103, 84, 169, 0.4);
}

.status-badge.completed {
    background-color: rgba(79, 70, 229, 0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.status-badge.paused {
    background-color: rgba(139, 92, 246, 0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.series-info-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.series-title-main {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #e0e1dd;
    line-height: 1.2;
}

.series-original-name-main {
    font-size: 18px;
    color: #7f8ea3;
    font-style: italic;
    margin: 0;
}

.series-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.15) 0%, rgba(26, 23, 38, 0.3) 100%);
    border-radius: 12px;
    border: 1px solid rgba(103, 84, 169, 0.3);
    backdrop-filter: blur(10px);
}

.rating-stars {
    display: flex;
    gap: 4px;
    cursor: pointer;
    padding: 4px 0;
}

.rating-stars .star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #4a4558;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.rating-stars .star i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: all 0.25s ease;
}

.rating-stars .star.filled,
.rating-stars .star.hover {
    color: #6754a9;
    fill: #6754a9;
}

.rating-stars .star.filled i,
.rating-stars .star.hover i {
    fill: #6754a9;
    stroke: #6754a9;
}

.rating-stars .star:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 6px rgba(103, 84, 169, 0.5));
}

.rating-stars .star.filled {
    filter: drop-shadow(0 2px 4px rgba(103, 84, 169, 0.4));
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.rating-value {
    font-weight: 700;
    font-size: 18px;
    color: #6754a9;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(103, 84, 169, 0.3);
}

.rating-count {
    color: #8b8fa3;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.series-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.genre-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #6754a9;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.genre-tag:hover {
    background-color: #5a4891;
    transform: translateY(-2px);
}

.series-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item-small {
    display: inline-block;
    padding: 4px 10px;
    background-color: #2a2438;
    color: #a9a5b6;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #3a3448;
}

.series-info-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(26, 23, 38, 0.95) 0%, rgba(21, 19, 31, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(42, 36, 56, 0.6);
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 7px 10px;
    background: rgba(15, 13, 23, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(42, 36, 56, 0.3);
    transition: all 0.3s ease;
}


.info-item:hover {
    background: rgba(15, 13, 23, 0.6);
    border-color: rgba(42, 36, 56, 0.5);
    transform: translateY(-1px);
}

.info-item-full {
    grid-column: 1 / -1;
}

.info-value-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.info-value-text {
    font-size: 14px;
    color: #c9c5d0;
    line-height: 1.5;
}

.info-item-team-wrapper {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(42, 36, 56, 0.5);
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.info-item-team-wrapper:hover {
    background: transparent;
    transform: none;
}

.info-item-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item-team-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item-team .info-label {
    margin-bottom: 6px;
    font-size: 11px;
}

.info-item-team .info-value-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-value-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(42, 36, 56, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(42, 36, 56, 0.3);
    transition: all 0.2s ease;
}

.info-value-item:hover {
    background: rgba(42, 36, 56, 0.4);
    border-color: rgba(42, 36, 56, 0.5);
}

.info-role-label {
    font-size: 9px;
    color: #8b8fa3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.info-role-value {
    font-size: 12px;
    color: #e0e1dd;
    font-weight: 500;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #8b8fa3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.info-label svg {
    width: 14px;
    height: 14px;
    color: #7f8ea3;
    opacity: 0.8;
}

.info-value {
    font-size: 14px;
    color: #e0e1dd;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1px;
}

.series-actions-main {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-follow,
.btn-share {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-follow {
    background: linear-gradient(135deg, #6754a9 0%, #5a4891 100%);
    color: #fff;
}

.btn-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 84, 169, 0.3);
}

.btn-follow.following {
    background: #2a2438;
    border: 1px solid #6754a9;
}

.btn-share {
    background-color: #2a2438;
    color: #e0e1dd;
    border: 1px solid #3a3448;
}

.btn-share:hover {
    background-color: #3a3448;
    border-color: #6754a9;
}

.btn-follow svg,
.btn-share svg {
    width: 18px;
    height: 18px;
}

/* İçerik Bölümü */
.series-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding: 32px;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-section {
    background-color: #1a1726;
    border-radius: 12px;
    border: 1px solid #2a2438;
    padding: 24px;
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #e0e1dd;
    margin: 0 0 20px 0;
}

.content-section h2 svg {
    width: 20px;
    height: 20px;
    color: #6754a9;
}

.series-summary {
    color: #a9a5b6;
    line-height: 1.8;
    font-size: 15px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.chapter-count {
    font-size: 14px;
    color: #7f8ea3;
    font-weight: 500;
}

.chapters-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chapter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #0f0d17;
    border-radius: 8px;
    border: 1px solid #2a2438;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.chapter-item:hover {
    background-color: #221c33;
    border-color: #6754a9;
    transform: translateX(4px);
}

.chapter-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.chapter-number {
    font-size: 15px;
    font-weight: 600;
    color: #e0e1dd;
}

.chapter-title {
    font-size: 13px;
    color: #7f8ea3;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chapter-date {
    font-size: 12px;
    color: #7f8ea3;
}

.chapter-meta svg {
    width: 18px;
    height: 18px;
    color: #6754a9;
}

.empty-chapters {
    text-align: center;
    padding: 60px 20px;
    color: #7f8ea3;
}

.empty-chapters svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: #2a2438;
}

.empty-chapters p {
    margin: 0;
    font-size: 16px;
}

/* Yan Bilgiler */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section {
    background-color: #1a1726;
    border-radius: 12px;
    border: 1px solid #2a2438;
    padding: 20px;
}

.sidebar-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #e0e1dd;
    margin: 0 0 16px 0;
}

.sidebar-section h3 svg {
    width: 18px;
    height: 18px;
    color: #6754a9;
}

.sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a2438;
}

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

.sidebar-label {
    font-size: 13px;
    color: #7f8ea3;
}

.sidebar-value {
    font-size: 14px;
    color: #e0e1dd;
    font-weight: 500;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .series-header {
        grid-template-columns: 240px 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .series-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .series-header {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .series-cover-large {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .series-title-main {
        font-size: 28px;
    }
    
    .series-info-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 10px;
    }
    
    .info-item {
        padding: 7px 10px;
    }
    
    .info-item-team {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .series-actions-main {
        flex-direction: column;
    }
    
    .info-item-team {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item-team .info-value-group {
        flex-direction: column;
    }
    
    .info-value-item {
        padding: 4px 8px;
    }
    
    .series-cover-wrapper {
        gap: 10px;
    }
    
    .series-rating {
        padding: 12px;
        gap: 8px;
    }
    
    .rating-stars .star {
        width: 20px;
        height: 20px;
    }
    
    .rating-stars .star i {
        width: 18px;
        height: 18px;
    }
    
    .rating-value {
        font-size: 16px;
    }
    
    .rating-count {
        font-size: 10px;
    }
    
    .series-cover-wrapper {
        gap: 10px;
    }
    
    .series-rating {
        padding: 12px;
        gap: 8px;
    }
    
    .rating-stars .star {
        width: 20px;
        height: 20px;
    }
    
    .rating-stars .star i {
        width: 18px;
        height: 18px;
    }
    
    .rating-value {
        font-size: 16px;
    }
    
    .rating-count {
        font-size: 10px;
    }
}

/* === FORM STİLLERİ === */
.series-form {
    background-color: #1a1726;
    border-radius: 16px;
    border: 1px solid #2a2438;
    margin-top: 24px;
}

.form-container {
    padding: 32px;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    background-color: #0f0d17;
    border-radius: 12px;
    border: 1px solid #2a2438;
    padding: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    width: 16px;
    height: 16px;
    color: #6754a9;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    padding: 12px 16px;
    color: #e0e1dd;
    font-size: 14px;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5c5f6e;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e1dd;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-label .btn-add-genre {
    margin-left: auto;
}

.btn-add-genre {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: rgba(103, 84, 169, 0.2);
    border: 1px solid rgba(103, 84, 169, 0.4);
    border-radius: 6px;
    color: #6754a9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-genre:hover {
    background: rgba(103, 84, 169, 0.3);
    border-color: rgba(103, 84, 169, 0.6);
    transform: scale(1.05);
}

.btn-add-genre i {
    width: 16px;
    height: 16px;
}

.genre-item {
    position: relative;
}

.genre-delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 4px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.genre-item:hover .genre-delete-btn {
    opacity: 1;
    pointer-events: all;
}

.genre-delete-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    transform: scale(1.1);
}

.genre-delete-btn i {
    width: 12px;
    height: 12px;
}

/* Durum Seçici */
.status-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.status-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.status-option {
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid #2a2438;
    background-color: #0f0d17;
    color: #e0e1dd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-option:hover {
    border-color: #6754a9;
    background-color: #221c33;
}

.status-selector input[type="radio"]:checked + .status-option {
    background: #6754a9;
    color: white;
    border-color: #6754a9;
}

/* Türler Grid */
.genre-search-wrapper {
    position: relative;
    margin-bottom: 16px;
}
.genre-search-input {
    width: 100%;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    padding: 10px 12px 10px 40px;
    color: #e0e1dd;
    font-size: 13px;
    transition: all 0.3s ease;
}
.genre-search-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.2);
}
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #7f8ea3;
}

.genre-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 160px;
    overflow-y: auto;
    padding: 4px;
    perspective: 800px; /* Animasyon için perspektif */
}

.genre-item {
    display: flex;
    align-items: center;
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Daha yumuşak bir animasyon eğrisi */
    max-height: 40px;
    overflow: hidden;
}

.genre-item.hiding {
    transform: scale(0.8) rotateZ(-5deg);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: -8px; /* Gap'i kapatmak için */
    border-width: 0;
}

.genre-item.hidden {
    display: none;
}

.genre-item input[type="checkbox"] {
    display: none;
}

.genre-item label {
    display: block;
    padding: 8px 32px 8px 12px;
    background-color: #221c33;
    border: 1px solid #2a2438;
    border-radius: 8px; /* Diktörtgen görünüm için */
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    position: relative;
}

.genre-item label:hover {
    border-color: #6754a9;
}

.genre-item input[type="checkbox"]:checked + label {
    background-color: #6754a9;
    color: white;
    border-color: #6754a9;
}

/* === FORM ALT BÖLÜM (KAPAK & ETİKETLER) === */
.form-grid-bottom {
    display: grid;
    grid-template-columns: 250px 1fr; /* Kapak için sabit genişlik, etiketler için kalan alan */
    gap: 32px;
    margin-top: 24px;
}

/* Yeni Etiket Sistemi */
.tags-section {
    display: flex;
    flex-direction: column;
}

.tags-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.tags-search-wrapper {
    position: relative;
}

.tags-search-input {
    width: 100%;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    padding: 12px 16px 12px 40px;
    color: #e0e1dd;
    font-size: 14px;
    transition: all 0.3s ease;
}
.tags-search-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.2);
}

.suggested-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggested-tag-item {
    background-color: #221c33;
    border: 1px solid #2a2438;
    color: #a9a5b6;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
}

.suggested-tag-item:hover {
    background-color: #3a3448;
    border-color: #6754a9;
    color: #fff;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background-color: #0f0d17;
    border-radius: 8px;
    min-height: 100px; /* Seçilen etiketler için alan */
    border: 1px solid #2a2438;
    align-content: flex-start; /* Öğeleri yukarı hizala */
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6754a9;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    animation: popIn 0.2s ease;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}
.tag-remove:hover {
    opacity: 1;
}

/* Kapak Yükleme Alanı */
.upload-area {
    position: relative;
    border: 2px dashed #2a2438;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #0f0d17;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manga-cover-upload {
    height: 350px; /* Manga kapağı için daha uygun yükseklik */
    padding: 10px;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #6754a9;
    background-color: #1f1a30;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #7f8ea3;
}
.upload-content i {
    width: 32px;
    height: 32px;
    color: #6754a9;
}
.upload-content h4 {
    color: #e0e1dd;
    margin: 0;
    font-size: 16px;
}
.upload-content p, .upload-content small {
    margin: 0;
    font-size: 12px;
}

.upload-preview {
    position: relative;
    width: 100%;
    height: 100%;
}
.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(231, 76, 60, 0.8);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remove-image:hover {
    background-color: #e74c3c;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    padding: 24px 32px;
    background-color: #1a1726;
    border-top: 1px solid #2a2438;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .form-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-panel {
        padding: 16px;
    }
    .form-container {
        padding: 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-actions {
        padding: 16px;
    }
}

/* === KULLANICI YÖNETİMİ PANELİ === */
.users-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.users-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1px solid #2a2438;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.users-stats .stat-card:hover {
    transform: translateY(-2px);
    border-color: #6754a9;
    box-shadow: 0 4px 12px rgba(103, 84, 169, 0.2);
}

.users-stats .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
}

.stat-total-users .stat-icon {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    color: #6754a9;
}

.stat-punished .stat-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    color: #fbbf24;
}

.stat-banned .stat-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #ef4444;
}

.users-stats .stat-icon i {
    width: 24px;
    height: 24px;
}

.users-stats .stat-content {
    flex: 1;
}

.users-stats .stat-label {
    font-size: 12px;
    color: #7f8ea3;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-stats .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #e0e1dd;
    line-height: 1;
}

.stat-total-users .stat-value {
    color: #6754a9;
}

.stat-punished .stat-value {
    color: #fbbf24;
}

.stat-banned .stat-value {
    color: #ef4444;
}

.users-management-content {
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    padding: 24px;
}

.users-filters {
    margin-bottom: 24px;
}

.filter-search {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search .search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: #7f8ea3;
    pointer-events: none;
    z-index: 1;
}

.filter-search .filter-input {
    width: 100%;
    padding: 12px 16px;
    padding-left: 42px;
    padding-right: 42px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 10px;
    color: #e0e1dd;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.filter-search .filter-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.filter-search .filter-clear {
    position: absolute;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    z-index: 2;
}

.filter-search .filter-clear:hover {
    background-color: rgba(103, 84, 169, 0.1);
    color: #6754a9;
}

.filter-search .filter-clear i {
    width: 16px;
    height: 16px;
}

.users-table-wrapper {
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 12px;
    overflow: hidden;
}

.users-table-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border-bottom: 2px solid #2a2438;
    gap: 12px;
}

.table-header-cell {
    color: #e0e1dd;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table-body {
    max-height: 600px;
    overflow-y: auto;
}

.users-table-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2438;
    gap: 12px;
    transition: all 0.2s ease;
}

.users-table-row:hover {
    background-color: rgba(103, 84, 169, 0.05);
}

.users-table-row:last-child {
    border-bottom: none;
}

.table-cell {
    color: #e0e1dd;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.user-cell-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #6754a9;
    object-fit: cover;
}

.user-info-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name-cell {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 600;
}

.user-discriminator-cell {
    color: #7f8ea3;
    font-size: 12px;
}

.discord-id {
    color: #7f8ea3;
    font-size: 12px;
    font-family: monospace;
}

.user-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.user-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.user-status.banned {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-status.muted {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.user-actions-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    border: 1px solid rgba(103, 84, 169, 0.3);
    border-radius: 8px;
    color: #e0e1dd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.25) 0%, rgba(79, 70, 229, 0.2) 100%);
    border-color: #6754a9;
    transform: translateY(-2px);
}

.btn-action i {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.btn-punish {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-punish:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: #ef4444;
}

.btn-view {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-view:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-color: #3b82f6;
}

.btn-toggle-admin {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-toggle-admin:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.2) 100%);
    border-color: #22c55e;
}

.btn-toggle-admin.is-admin {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.btn-toggle-admin.is-admin:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-color: #fbbf24;
}

/* === YORUM YÖNETİMİ PANELİ === */
.comments-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1px solid #2a2438;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: #6754a9;
    box-shadow: 0 4px 12px rgba(103, 84, 169, 0.2);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
}

.stat-total .stat-icon {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    color: #6754a9;
}

.stat-approved .stat-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.15) 100%);
    color: #22c55e;
}

.stat-pending .stat-icon {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    color: #fbbf24;
}

.stat-icon i {
    width: 24px;
    height: 24px;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: #7f8ea3;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #e0e1dd;
    line-height: 1;
}

.stat-total .stat-value {
    color: #6754a9;
}

.stat-approved .stat-value {
    color: #22c55e;
}

.stat-pending .stat-value {
    color: #fbbf24;
}

.comments-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.comments-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.comments-filters .filter-input {
    flex: 1;
    padding: 10px 14px;
    background: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.comments-filters .filter-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.comments-filters .filter-select {
    flex: 1;
    padding: 10px 14px;
    background: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.comments-filters .filter-select:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.comments-table-wrapper {
    background: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 12px;
    overflow: hidden;
}

.comments-table-header {
    display: flex;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-bottom: 2px solid #2a2438;
    padding: 12px 16px;
    gap: 12px;
}

.comments-table-row {
    display: flex;
    padding: 14px 16px;
    border-bottom: 1px solid #1a1726;
    gap: 12px;
    transition: background-color 0.2s ease;
}

.comments-table-row:hover {
    background: rgba(103, 84, 169, 0.05);
}

.comments-table-row:last-child {
    border-bottom: none;
}

.comment-content-preview {
    color: #e0e1dd;
    font-size: 13px;
    line-height: 1.5;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.comment-status.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.comment-status.approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.comment-status i {
    width: 12px;
    height: 12px;
}

.comment-actions-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-approve-comment {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-approve-comment:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.2) 100%);
    border-color: #22c55e;
}

.btn-delete-comment-admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-delete-comment-admin:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: #ef4444;
}

.admin-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 4px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(251, 191, 36, 0.6);
    border-radius: 3px;
    color: #fbbf24;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    height: 14px;
}

.series-name {
    color: #7f8ea3;
    font-size: 12px;
}

.comment-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.comment-detail-modal {
    background: linear-gradient(135deg, #0f0d17 0%, #1a1726 100%);
    border: 1px solid #2a2438;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(103, 84, 169, 0.1);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.comment-detail-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2438;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
}

.comment-detail-modal .modal-header h3 {
    margin: 0;
    color: #e0e1dd;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-detail-modal .modal-header h3 i {
    width: 20px;
    height: 20px;
    color: #6754a9;
}

.comment-detail-modal .modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-detail-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.05);
}

.comment-detail-modal .modal-close i {
    width: 18px;
    height: 18px;
}

.comment-detail-modal .modal-content {
    padding: 24px;
}

.comment-detail-user {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(103, 84, 169, 0.05);
    border: 1px solid rgba(103, 84, 169, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.comment-detail-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #6754a9;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-detail-user-info {
    flex: 1;
}

.comment-detail-username {
    font-size: 16px;
    font-weight: 600;
    color: #e0e1dd;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #7f8ea3;
}

.comment-detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-detail-meta i {
    width: 14px;
    height: 14px;
}

.comment-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.comment-detail-status.pending {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.comment-detail-status.approved {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.comment-detail-content-wrapper {
    margin-top: 20px;
}

.comment-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #6754a9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.comment-detail-content {
    padding: 16px;
    background: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    color: #e0e1dd;
    line-height: 1.7;
    font-size: 14px;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

.reply-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(103, 84, 169, 0.15);
    border: 1px solid rgba(103, 84, 169, 0.3);
    border-radius: 4px;
    color: #6754a9;
    margin-left: 6px;
    flex-shrink: 0;
}

.reply-indicator i {
    width: 12px;
    height: 12px;
}

.comments-loading,
.comments-empty,
.comments-error {
    padding: 40px 20px;
    text-align: center;
    color: #7f8ea3;
}

.users-loading,
.users-empty,
.users-error {
    padding: 40px 20px;
    text-align: center;
    color: #7f8ea3;
}

/* Ceza Verme Modal */
.punish-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.punish-modal {
    background: linear-gradient(135deg, #1a1726 0%, #221c33 100%);
    border: 1px solid #2a2438;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.punish-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #2a2438;
}

.punish-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #e0e1dd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.punish-modal-header h3 i {
    width: 20px;
    height: 20px;
    color: #ef4444;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #7f8ea3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.modal-close i {
    width: 18px;
    height: 18px;
}

.punish-modal-content {
    padding: 24px;
}

.punish-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1px solid #2a2438;
    border-radius: 12px;
    margin-bottom: 24px;
}

.punish-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #6754a9;
    object-fit: cover;
}

.punish-user-name {
    color: #e0e1dd;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.punish-user-id {
    color: #7f8ea3;
    font-size: 12px;
    font-family: monospace;
}

.punish-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.punish-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.punish-form .form-group label {
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.punish-form .form-group label i {
    width: 16px;
    height: 16px;
    color: #6754a9;
}

.punish-form .form-input {
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 10px;
    padding: 12px 16px;
    color: #e0e1dd;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.punish-form .form-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

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

.punish-form .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: transparent;
}

.punish-form .btn-secondary {
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    border: 1px solid rgba(103, 84, 169, 0.3);
    border-radius: 10px;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.punish-form .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.25) 0%, rgba(79, 70, 229, 0.2) 100%);
    border-color: #6754a9;
}

.punish-form .btn-danger {
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.punish-form .btn-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.25) 100%);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Ceza Geçmişi */
.punishment-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
}

.punishment-history-item {
    background: linear-gradient(135deg, rgba(26, 23, 38, 0.8) 0%, rgba(34, 28, 51, 0.6) 100%);
    border: 1px solid #2a2438;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.punishment-history-item.active {
    border-color: #6754a9;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
}

.punishment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.punishment-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}

.punishment-type i {
    width: 16px;
    height: 16px;
}

.punishment-status .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.punishment-status .status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.punishment-status .status-badge.inactive {
    background: rgba(127, 142, 163, 0.15);
    color: #7f8ea3;
    border: 1px solid rgba(127, 142, 163, 0.3);
}

.punishment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.punishment-reason {
    color: #e0e1dd;
    font-size: 14px;
    line-height: 1.5;
}

.punishment-reason strong {
    color: #6754a9;
    margin-right: 8px;
}

.punishment-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #7f8ea3;
}

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

.punishment-meta i {
    width: 14px;
    height: 14px;
}

.btn-cancel-punishment-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    align-self: flex-start;
}

.btn-cancel-punishment-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: #ef4444;
    transform: translateY(-1px);
}

.btn-cancel-punishment-item i {
    width: 16px;
    height: 16px;
}

.punishment-empty {
    padding: 40px 20px;
    text-align: center;
    color: #7f8ea3;
}

.btn-cancel-punish {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-cancel-punish:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: #ef4444;
}

.user-status.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.user-status.warning i {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* === SERİ LİSTESİ SAYFASI === */
.series-list-content {
    padding: 30px;
    background-color: #0f0d17;
    min-height: calc(100vh - 61px);
}

.series-list-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2438;
}

.series-list-header h1 {
    font-size: 28px;
    margin: 0 0 8px 0;
    color: #e0e1dd;
    font-weight: 700;
}

.series-list-header p {
    margin: 0;
    color: #7f8ea3;
    font-size: 14px;
}

/* Filtre Bar */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-item {
    position: relative;
    flex-shrink: 0;
}

.filter-item-search {
    flex: 1;
    min-width: 180px;
}

.filter-search-icon {
    position: absolute;
    left: 10px;
    width: 14px;
    height: 14px;
    color: #7f8ea3;
    pointer-events: none;
    z-index: 1;
}

.filter-item-search .filter-input {
    padding-left: 32px;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input {
    width: 100%;
    padding: 6px 10px;
    padding-right: 32px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 6px;
    color: #e0e1dd;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    min-height: 32px;
}

.filter-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.filter-input::placeholder {
    color: #7f8ea3;
}

.filter-clear {
    position: absolute;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-clear:hover {
    background-color: rgba(103, 84, 169, 0.1);
    color: #6754a9;
}

.filter-clear i {
    width: 16px;
    height: 16px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 6px;
    color: #e0e1dd;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    min-height: 32px;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #221c33;
    border-color: #6754a9;
    color: #fff;
}

.filter-btn.active {
    background-color: rgba(103, 84, 169, 0.15);
    border-color: #6754a9;
    color: #a78bfa;
}

.filter-btn i {
    width: 14px;
    height: 14px;
    color: currentColor;
    flex-shrink: 0;
}

.filter-btn-text {
    flex-shrink: 0;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    min-width: 180px;
    max-width: 280px;
    max-height: 300px;
    overflow-y: auto;
    animation: dropdownFadeIn 0.2s ease;
    display: none;
}

.filter-dropdown[style*="block"],
.filter-dropdown[data-open="true"] {
    display: block !important;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-dropdown-content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.filter-dropdown-content::-webkit-scrollbar-track {
    background: #0f0d17;
}

.filter-dropdown-content::-webkit-scrollbar-thumb {
    background: #6754a9;
    border-radius: 3px;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    color: #e0e1dd;
}

.filter-checkbox:hover {
    background-color: #221c33;
    border-color: #6754a9;
}

.filter-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #6754a9;
}

.filter-checkbox input[type="checkbox"]:checked + span {
    color: #a78bfa;
    font-weight: 500;
}

.filter-checkbox:has(input[type="checkbox"]:checked) {
    background-color: rgba(103, 84, 169, 0.15);
    border-color: #6754a9;
}

.filter-btn-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.2) 0%, rgba(90, 72, 145, 0.2) 100%);
    border: 1px solid #6754a9;
    border-radius: 6px;
    color: #a78bfa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.filter-btn-reset:hover {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.3) 0%, rgba(90, 72, 145, 0.3) 100%);
    transform: translateY(-1px);
}

.filter-btn-reset i {
    width: 14px;
    height: 14px;
}

.filter-loading {
    text-align: center;
    color: #7f8ea3;
    font-size: 14px;
    padding: 20px;
}

/* Sonuçlar */
.series-list-results {
    background-color: #1a1726;
    border: 1px solid #2a2438;
    border-radius: 12px;
    padding: 24px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2438;
}

.results-count {
    font-size: 14px;
    color: #7f8ea3;
}

.results-count span {
    color: #a78bfa;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .series-list-content {
        padding: 20px;
    }
    
    .filters-content {
        padding: 16px;
        gap: 16px;
    }
    
    .filter-checkboxes {
        gap: 6px;
    }
    
    .filter-checkbox {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* === YORUMLAR BÖLÜMÜ === */
.comments-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #2a2438;
}

.comments-section .content-section {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 24px;
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 20px;
    color: #e0e1dd;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-header h2 i {
    width: 20px;
    height: 20px;
    color: #6754a9;
}

.comments-count {
    font-size: 13px;
    color: #7f8ea3;
    font-weight: 500;
}

/* Yorum Formu */
.comment-form-wrapper {
    margin-bottom: 16px;
}

.comment-form {
    background: linear-gradient(135deg, #1a1726 0%, #221c33 100%);
    border: 1px solid #2a2438;
    border-radius: 10px;
    padding: 12px 14px;
}

.comment-form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.comment-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #6754a9;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-form-user-info {
    flex: 1;
}

.comment-form-username {
    font-size: 13px;
    font-weight: 600;
    color: #e0e1dd;
    margin-bottom: 2px;
}

.comment-form-hint {
    font-size: 11px;
    color: #7f8ea3;
}

.comment-input {
    width: 100%;
    background-color: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    padding: 10px 12px;
    color: #e0e1dd;
    font-size: 13px;
    font-family: "Poppins", sans-serif;
    resize: vertical;
    min-height: 70px;
    text-align: left;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.comment-input::placeholder {
    color: #5c5f6e;
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-comment-submit {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border: 1px solid rgba(103, 84, 169, 0.4);
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-comment-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.3) 0%, rgba(79, 70, 229, 0.25) 100%);
    border-color: #6754a9;
    transform: translateY(-2px);
}

.btn-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-comment-submit i {
    width: 14px;
    height: 14px;
}

/* Giriş Yapma Uyarısı */
.comment-login-prompt {
    background: linear-gradient(135deg, rgba(103, 84, 169, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    border: 1px solid #2a2438;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.login-prompt-content i {
    width: 48px;
    height: 48px;
    color: #6754a9;
    margin-bottom: 16px;
}

.login-prompt-content p {
    color: #7f8ea3;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-login-comment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0.15) 100%);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 10px;
    color: #e0e1dd;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login-comment:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3) 0%, rgba(88, 101, 242, 0.25) 100%);
    border-color: #5865f2;
    transform: translateY(-2px);
}

.btn-login-comment i {
    width: 16px;
    height: 16px;
}

/* Yorumlar Listesi */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    background: linear-gradient(135deg, #1a1726 0%, #221c33 100%);
    border: 1px solid #2a2438;
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.comment-item:hover {
    border-color: #6754a9;
    box-shadow: 0 2px 8px rgba(103, 84, 169, 0.1);
}

.comment-item.pinned {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.comment-pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 4px;
    color: #fbbf24;
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 6px;
}

.comment-pinned-badge i {
    width: 12px;
    height: 12px;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 8px;
}

.comment-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #6754a9;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comment-username {
    font-size: 13px;
    font-weight: 600;
    color: #e0e1dd;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    border-radius: 5px;
    color: #fbbf24;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3), 0 0 10px rgba(251, 191, 36, 0.15);
    position: relative;
    overflow: hidden;
}

.admin-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.admin-badge i {
    width: 10px;
    height: 10px;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.5));
}

.comment-date {
    font-size: 11px;
    color: #7f8ea3;
}

.btn-pin-comment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #7f8ea3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pin-comment:hover {
    background-color: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    color: #fbbf24;
}

.btn-pin-comment.pinned {
    background-color: rgba(251, 191, 36, 0.15);
    border-color: #fbbf24;
    color: #fbbf24;
}

.btn-pin-comment i {
    width: 16px;
    height: 16px;
}

.comment-content {
    color: #e0e1dd;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 6px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
    word-wrap: break-word;
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid #2a2438;
    margin-top: 6px;
    flex-wrap: wrap;
}

.btn-delete-comment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #7f8ea3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-comment:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-delete-comment i {
    width: 16px;
    height: 16px;
}

.btn-reply-comment {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #7f8ea3;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reply-comment:hover {
    background-color: rgba(103, 84, 169, 0.1);
    border-color: #6754a9;
    color: #6754a9;
}

.btn-reply-comment i {
    width: 14px;
    height: 14px;
}

.replies-count {
    font-size: 12px;
    color: #7f8ea3;
    margin-left: auto;
}

.comment-replies {
    margin-top: 12px;
    padding-left: 20px;
    border-left: 2px solid #2a2438;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-reply-item {
    padding: 10px;
    background: rgba(26, 23, 38, 0.5);
    border-radius: 8px;
    border: 1px solid #2a2438;
}

.comment-reply-item .comment-header {
    margin-bottom: 6px;
}

.comment-reply-item .comment-content {
    font-size: 12px;
    margin-bottom: 4px;
}

.comment-reply-item .comment-actions {
    padding-top: 4px;
    margin-top: 4px;
    border-top: 1px solid #1a1726;
}

.comment-reply-form {
    margin-top: 12px;
    padding: 12px;
    background: rgba(26, 23, 38, 0.5);
    border: 1px solid #2a2438;
    border-radius: 8px;
}

.reply-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.reply-to-text {
    font-size: 12px;
    color: #6754a9;
    font-weight: 500;
}

.btn-close-reply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #7f8ea3;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn-close-reply:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-close-reply i {
    width: 14px;
    height: 14px;
}

.reply-input {
    width: 100%;
    padding: 10px;
    background: #0f0d17;
    border: 1px solid #2a2438;
    border-radius: 8px;
    color: #e0e1dd;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 8px;
}

.reply-input:focus {
    outline: none;
    border-color: #6754a9;
    box-shadow: 0 0 0 3px rgba(103, 84, 169, 0.1);
}

.reply-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-cancel-reply,
.btn-submit-reply {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.btn-cancel-reply {
    background: transparent;
    border-color: #2a2438;
    color: #7f8ea3;
}

.btn-cancel-reply:hover {
    background-color: rgba(127, 142, 163, 0.1);
    border-color: #7f8ea3;
    color: #e0e1dd;
}

.btn-submit-reply {
    background: linear-gradient(135deg, #6754a9 0%, #4f46e5 100%);
    border-color: #6754a9;
    color: #ffffff;
}

.btn-submit-reply:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #6754a9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(103, 84, 169, 0.3);
}

.btn-like-comment {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #2a2438;
    border-radius: 6px;
    color: #7f8ea3;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-like-comment:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-like-comment.liked {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-like-comment i {
    width: 14px;
    height: 14px;
}

.like-count {
    font-weight: 500;
    font-size: 12px;
}

.comments-loading,
.comments-empty,
.comments-error {
    padding: 40px 20px;
    text-align: center;
    color: #7f8ea3;
}

.comments-empty i {
    width: 48px;
    height: 48px;
    color: #6754a9;
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .comment-form {
        padding: 16px;
    }
    
    .comment-item {
        padding: 16px;
    }
    
    .comment-avatar {
        width: 36px;
        height: 36px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
