@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* =========================================================
    SIDEBAR - MODERN NAVMENU
========================================================= */

.bi {
    display: inline-block !important;
    vertical-align: middle !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    margin-right: 0 !important;
    top: 0 !important;
}

.nav-link-icon .bi,
.stat-card-icon .bi,
.quick-action-icon .bi {
    margin-right: 0 !important;
}


.admin-sidebar {
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
}

    .admin-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .admin-sidebar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
    }

    .admin-sidebar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 3px;
    }

        .admin-sidebar::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.25);
        }

/* SIDEBAR HEADER */
.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.brand-text {
    flex: 1;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    margin-top: 2px;
}

/* SIDEBAR NAV */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.1em;
}

    .nav-section-title i {
        font-size: 0.9rem;
    }

/* NAV LINKS */
.sidebar-nav .nav-link,
.sidebar-nav .nav-link-logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    margin: 0.25rem 1rem;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    background: transparent;
    width: calc(100% - 2rem);
    cursor: pointer;
}

    .sidebar-nav .nav-link::before,
    .sidebar-nav .nav-link-logout::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: #3b82f6;
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .sidebar-nav .nav-link:hover,
    .sidebar-nav .nav-link-logout:hover {
        background: rgba(59, 130, 246, 0.1);
        color: #60a5fa;
        padding-left: 1.75rem;
    }

        .sidebar-nav .nav-link:hover::before,
        .sidebar-nav .nav-link-logout:hover::before {
            transform: scaleY(1);
        }

    .sidebar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.15) 100%);
        color: #60a5fa;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

        .sidebar-nav .nav-link.active::before {
            transform: scaleY(1);
        }

.nav-link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover .nav-link-icon,
.sidebar-nav .nav-link-logout:hover .nav-link-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.sidebar-nav .nav-link.active .nav-link-icon {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.nav-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.nav-link-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.2;
}

.nav-link-arrow {
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-link:hover .nav-link-arrow,
.sidebar-nav .nav-link-logout:hover .nav-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* LOGOUT BUTTON */
.nav-link-logout {
    color: #f87171 !important;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

    .nav-link-logout:hover {
        background: rgba(248, 113, 113, 0.1) !important;
        border-color: rgba(248, 113, 113, 0.3);
    }

    .nav-link-logout .nav-link-icon {
        background: rgba(248, 113, 113, 0.1);
        color: #f87171;
    }

    .nav-link-logout:hover .nav-link-icon {
        background: rgba(248, 113, 113, 0.2);
    }

/* SIDEBAR FOOTER */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    margin-top: 2px;
}

/* =========================================================
    DASHBOARD STİLLERİ
========================================================= */
.dashboard-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0.5rem 0 0 0;
}

.dashboard-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
}

    .dashboard-date i {
        font-size: 1.1rem;
        color: #3b82f6;
        display: flex;
        align-items: center;
    }

/* İSTATİSTİK KARTLARI */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    }

.stat-card-primary:hover {
    border-color: #3b82f6;
}

.stat-card-success:hover {
    border-color: #10b981;
}

.stat-card-warning:hover {
    border-color: #f59e0b;
}

.stat-card-info:hover {
    border-color: #06b6d4;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-card-primary .stat-card-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.stat-card-success .stat-card-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.stat-card-warning .stat-card-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.stat-card-info .stat-card-icon {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #0891b2;
}

.stat-card-content {
    flex: 1;
}

.stat-card-label {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.stat-card-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

    .stat-card-change.positive {
        color: #10b981;
    }

    .stat-card-change i {
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

/* DASHBOARD ROW */
.dashboard-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

    .dashboard-card .card-header {
        padding: 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dashboard-card .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .dashboard-card .card-title i {
            color: #3b82f6;
            display: flex;
            align-items: center;
        }

    .dashboard-card .card-link {
        font-size: 0.875rem;
        color: #3b82f6;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        transition: all 0.3s ease;
    }

        .dashboard-card .card-link:hover {
            gap: 0.5rem;
        }

        .dashboard-card .card-link i {
            display: flex;
            align-items: center;
        }

    .dashboard-card .card-body {
        padding: 1.5rem;
    }

.loading-spinner,
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state p {
    margin: 0;
    font-weight: 500;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .content-item:hover {
        background: #f1f5f9;
        transform: translateX(5px);
    }

.content-item-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.content-item-info {
    flex: 1;
    min-width: 0;
}

.content-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.badge-category {
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    color: white;
    font-weight: 600;
}

.content-item-date {
    font-size: 0.8rem;
    color: #64748b;
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.category-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-stat-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.category-stat-count {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
}

.category-stat-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.category-stat-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.quick-actions {
    margin-top: 2rem;
}

.quick-actions-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.quick-action-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .quick-action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
        border-color: #e5e7eb;
    }

.quick-action-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

    .quick-action-icon.bg-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    }

    .quick-action-icon.bg-success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

    .quick-action-icon.bg-warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    }

    .quick-action-icon.bg-info {
        background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    }

.quick-action-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.quick-action-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* =========================================================
    GENEL KARTLAR
========================================================= */
.admin-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .admin-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .admin-card .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        display: flex;
        align-items: center;
    }

        .admin-card .card-title i {
            display: flex;
            align-items: center;
        }

/* =========================================================
    FORM ELEMENTLERİ
========================================================= */
.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

    .form-label i {
        display: flex;
        align-items: center;
    }

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    }

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* =========================================================
    GÖRSEL ÖNİZLEME
========================================================= */
.image-preview-wrapper {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-preview-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 300px;
    }

/* =========================================================
    DİL SEKMELERİ
========================================================= */
.nav-tabs {
    border: none;
}

    .nav-tabs .nav-link {
        border: none;
        color: #64748b;
        font-weight: 600;
        padding: 1rem 1.5rem;
        transition: all 0.3s ease;
        border-radius: 0;
        border-bottom: 3px solid transparent;
    }

        .nav-tabs .nav-link:hover {
            color: #3b82f6;
            background-color: #f1f5f9;
        }

        .nav-tabs .nav-link.active {
            color: #3b82f6;
            background-color: transparent;
            border-bottom-color: #3b82f6;
        }

/* =========================================================
    BUTONLAR
========================================================= */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn i {
        display: flex;
        align-items: center;
    }

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
    }

    .btn-primary:disabled {
        background: #94a3b8;
        transform: none;
        box-shadow: none;
    }

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* =========================================================
    MODERN UYARI MESAJLARI
========================================================= */
.modern-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
}

.modern-alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #10b981;
}

.modern-alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
}

.modern-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.modern-alert-success .modern-alert-icon {
    background: #10b981;
    color: white;
}

.modern-alert-error .modern-alert-icon {
    background: #ef4444;
    color: white;
}

.modern-alert-content {
    flex: 1;
}

    .modern-alert-content strong {
        display: block;
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: #1e293b;
    }

    .modern-alert-content p {
        margin: 0;
        color: #475569;
    }

.modern-alert-close {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .modern-alert-close:hover {
        color: #1e293b;
        transform: scale(1.1);
    }

/* =========================================================
    KATEGORI ROZETI (CARD-HEADER-BADGE DÜZELTMESİ)
========================================================= */
.card-header-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================
    İÇERİK KARTLARI
========================================================= */
.admin-content-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .admin-content-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        border-color: #3b82f6;
    }

.admin-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

    .admin-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.admin-content-card:hover .admin-card-image img {
    transform: scale(1.05);
}

.admin-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.admin-card-date {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

    .admin-card-date i {
        display: flex;
        align-items: center;
    }

.admin-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* =========================================================
    POST SEÇİM LİSTESİ (DÜZENLE.RAZOR İÇİN)
========================================================= */
.post-select-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.list-group-item {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
    border: 2px solid #e5e7eb !important;
}

    .list-group-item:hover {
        transform: translateX(8px);
        border-color: #3b82f6 !important;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

        .list-group-item:hover .post-select-icon {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            transform: scale(1.05);
        }

    .list-group-item h6 {
        margin: 0;
        font-weight: 600;
        color: #1e293b;
    }

    .list-group-item .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.625rem;
        display: inline-flex;
        align-items: center;
    }

/* =========================================================
    FİLTRE KONTROLLARI
========================================================= */
.search-input-group {
    min-width: 250px;
}

.filter-select {
    min-width: 150px;
}

/* =========================================================
    RESPONSIVE TASARIM
========================================================= */

@media (max-width: 991px) {
    .admin-sidebar {
        width: 260px;
    }

    .dashboard-container {
        padding: 1.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-date {
        align-self: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-row {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-card .card-body {
        padding: 1.25rem;
    }

    .image-preview-wrapper {
        min-height: 180px;
    }

    .admin-card-image {
        height: 180px;
    }

    .search-input-group {
        min-width: 200px;
    }

    .filter-select {
        min-width: 130px;
    }
}

/* Mobil Cihazlar (576px - 767px) */
@media (max-width: 767px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }

    .dashboard-subtitle {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-card-value {
        font-size: 1.75rem;
    }

    .dashboard-row {
        gap: 1rem;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .admin-card-title {
        font-size: 0.95rem;
    }

    .admin-card-excerpt {
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .search-input-group,
    .filter-select {
        min-width: 100%;
    }

    .admin-card-image {
        height: 160px;
    }

    .card-header-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Küçük Mobil Cihazlar (Max 575px) */
@media (max-width: 575px) {
    .dashboard-container {
        padding: 0.75rem;
    }

    .dashboard-title {
        font-size: 1.25rem;
    }

    .dashboard-date {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }

        .dashboard-date i {
            font-size: 1rem;
        }

    .stat-card {
        padding: 1rem;
        gap: 1rem;
    }

    .stat-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .stat-card-value {
        font-size: 1.5rem;
    }

    .stat-card-label {
        font-size: 0.8rem;
    }

    .stat-card-change {
        font-size: 0.75rem;
    }

    .dashboard-card .card-header {
        padding: 1rem;
    }

    .dashboard-card .card-body {
        padding: 1rem;
    }

    .dashboard-card .card-title {
        font-size: 1rem;
    }

    .content-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .content-item-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .content-item-title {
        font-size: 0.875rem;
    }

    .badge-category {
        font-size: 0.65rem;
    }

    .content-item-date {
        font-size: 0.75rem;
    }

    .quick-action-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .quick-action-title {
        font-size: 0.95rem;
    }

    .quick-action-desc {
        font-size: 0.8rem;
    }

    .admin-card {
        border-radius: 10px;
    }

    .form-control,
    .form-select {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }

    .admin-card-image {
        height: 140px;
    }

    .card-header-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        top: 0.75rem;
        left: 0.75rem;
    }

    .btn {
        margin-left:1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .btn-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .modern-alert {
        padding: 1rem;
        gap: 0.75rem;
    }

    .modern-alert-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .post-select-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .list-group-item h6 {
        font-size: 0.9rem;
    }

    .list-group-item small {
        font-size: 0.75rem;
    }
}

/* Navbar Responsive (Mobil için) */
@media (max-width: 767px) {
    .sidebar-header {
        padding: 1.5rem 1rem;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .sidebar-nav {
        padding: 0.5rem 0;
    }

    .nav-section {
        margin-bottom: 1.5rem;
    }

    .nav-section-title {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
    }

    .sidebar-nav .nav-link,
    .sidebar-nav .nav-link-logout {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0.75rem;
        gap: 0.75rem;
    }

    .nav-link-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .nav-link-title {
        font-size: 0.9rem;
    }

    .nav-link-desc {
        font-size: 0.7rem;
    }

    .sidebar-footer {
        padding: 1rem;
    }

    .user-avatar {
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }

    .user-name {
        font-size: 0.85rem;
    }

    .user-role {
        font-size: 0.7rem;
    }
}

/* =========================================================
    ANİMASYONLAR
========================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-content-card {
    animation: fadeIn 0.4s ease-out;
}

/* =========================================================
    SCROLLBAR STİLİ
========================================================= */
.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.card-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

    .card-body::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* =========================================================
    UTILITY CLASSES
========================================================= */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-md-row {
    flex-direction: column;
}

@media (min-width: 768px) {
    .flex-md-row {
        flex-direction: row;
    }
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-md-center {
    align-items: flex-start;
}

@media (min-width: 768px) {
    .align-items-md-center {
        align-items: center;
    }
}

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.w-100 {
    width: 100%;
}

.w-md-auto {
    width: 100%;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto;
    }
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.flex-grow-1 {
    flex-grow: 1;
}

/* =========================================================
    ADMİN MOBİL MENÜ 
========================================================= */
.admin-mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

    .admin-mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .admin-mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .admin-mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .admin-mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

.admin-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

    .admin-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* =========================================================
    MOBİL RESPONSIVE (767px ve altı)
========================================================= */
@media (max-width: 767px) {
    .admin-mobile-menu-btn {
        display: flex;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        transition: left 0.4s ease;
        z-index: 1000;
    }

        .admin-sidebar.open {
            left: 0;
        }

    main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .admin-lang-links {
        flex-wrap: wrap;
    }

    .admin-lang-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

        .admin-lang-link .flag-icon {
            width: 16px;
            height: 16px;
        }
}

@media (max-width: 575px) {
    .admin-sidebar {
        width: 280px;
    }

    .admin-mobile-menu-btn {
        top: 15px;
        left: 15px;
        padding: 8px;
    }

        .admin-mobile-menu-btn span {
            width: 22px;
        }
}


/* =========================================================
    GÖRSEL YÜKLEME ALANI (DRAG & DROP)
========================================================= */
.upload-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

    .upload-drop-zone::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .upload-drop-zone:hover {
        border-color: #3b82f6;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

        .upload-drop-zone:hover::before {
            opacity: 1;
        }

    .upload-drop-zone.drag-over {
        border-color: #2563eb;
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    }

        .upload-drop-zone.drag-over::before {
            opacity: 1;
        }

    .upload-drop-zone i {
        display: block;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    .upload-drop-zone:hover i {
        transform: scale(1.1) translateY(-5px);
        color: #3b82f6;
    }

    .upload-drop-zone p {
        position: relative;
        z-index: 1;
    }

/* IMAGE PREVIEW WRAPPER (Güncellenmiş) */
.image-preview-wrapper {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    min-height: 200px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .image-preview-wrapper:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .image-preview-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .image-preview-wrapper:hover img {
        transform: scale(1.05);
    }

/* UPLOAD LOADING SPINNER */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* RESPONSIVE UPLOAD ZONE */
@media (max-width: 767px) {
    .upload-drop-zone {
        padding: 30px 15px;
    }

        .upload-drop-zone i {
            font-size: 2.5rem !important;
        }

        .upload-drop-zone p {
            font-size: 0.85rem;
        }

    .image-preview-wrapper {
        min-height: 180px;
        max-height: 250px;
    }
}

@media (max-width: 575px) {
    .upload-drop-zone {
        padding: 25px 10px;
    }

        .upload-drop-zone i {
            font-size: 2rem !important;
        }

        .upload-drop-zone p {
            font-size: 0.8rem;
        }

    .image-preview-wrapper {
        min-height: 160px;
        max-height: 220px;
    }
}

/* =========================================================
    ÇÖZÜM ORTAKLARI YÖNETİMİ - EK STİLLER
========================================================= */

/* Ortak kartları için özel düzenlemeler */
.admin-content-card .card-body a {
    color: #3b82f6;
    text-decoration: none;
    word-break: break-all;
}

    .admin-content-card .card-body a:hover {
        text-decoration: underline;
    }

/* Logo preview için özel düzenleme */
.partner-logo-preview {
    max-height: 200px;
    object-fit: contain;
    background: #f8fafc;
    padding: 20px;
}

/* Ortak kartı hover efekti iyileştirmesi */
.admin-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

/* Drag & Drop zone için ek stiller (tüm sayfalar için geçerli) */
.upload-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

    .upload-drop-zone::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .upload-drop-zone:hover {
        border-color: #3b82f6;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

        .upload-drop-zone:hover::before {
            opacity: 1;
        }

    .upload-drop-zone.drag-over {
        border-color: #2563eb;
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    }

        .upload-drop-zone.drag-over::before {
            opacity: 1;
        }

    .upload-drop-zone i {
        display: block;
        margin: 0 auto;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .upload-drop-zone:hover i {
        transform: scale(1.1) translateY(-5px);
        color: #3b82f6;
    }

    .upload-drop-zone p {
        position: relative;
        z-index: 1;
        margin: 0;
    }

/* Image preview wrapper iyileştirmeleri */
.image-preview-wrapper {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    min-height: 200px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .image-preview-wrapper:hover {
        border-color: #cbd5e1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .image-preview-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .image-preview-wrapper:hover img {
        transform: scale(1.05);
    }

/* Responsive düzenlemeler - Ortak yönetimi için */
@media (max-width: 767px) {
    .upload-drop-zone {
        padding: 30px 15px;
    }

        .upload-drop-zone i {
            font-size: 2.5rem !important;
        }

        .upload-drop-zone p {
            font-size: 0.85rem;
        }

    .image-preview-wrapper {
        min-height: 180px;
        max-height: 250px;
    }
}

@media (max-width: 575px) {
    .upload-drop-zone {
        padding: 25px 10px;
    }

        .upload-drop-zone i {
            font-size: 2rem !important;
        }

        .upload-drop-zone p {
            font-size: 0.8rem;
        }

    .image-preview-wrapper {
        min-height: 160px;
        max-height: 220px;
    }
}

/* =========================================================
    YÜKLENİYOR SPINNER STİLİ (Genel kullanım)
========================================================= */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Modern alert düzenlemeleri - Tüm admin sayfaları için */
.modern-alert {
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin card hover animation iyileştirmesi */
.admin-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .admin-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

/* Form kontrolleri için focus iyileştirmesi */
.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Checkbox ve switch'ler için iyileştirmeler */
.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-check-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Buton disable durumu iyileştirmesi */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* List group item hover efekti */
.list-group-item:hover {
    background-color: #f1f5f9;
}

/* Nav tabs aktif durum iyileştirmesi */
.nav-tabs .nav-link.active {
    background-color: transparent;
    border-bottom: 3px solid #3b82f6;
    color: #3b82f6;
}

/* Badge stili iyileştirmesi */
.badge {
    font-weight: 600;
    padding: 0.35em 0.75em;
    border-radius: 0.375rem;
}

/* Card footer düzenlemesi */
.card-footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Scrollbar stili - Tüm admin sayfaları için */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* Loading state için pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Empty state için stil */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: #94a3b8;
}

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        opacity: 0.5;
    }

    .empty-state p {
        font-size: 1.125rem;
        margin: 0;
    }

/* Success ve error mesajları için icon animasyonu */
.modern-alert-icon i {
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* =========================================================
    ACCESSIBILITY İYİLEŞTİRMELERİ
========================================================= */

/* Focus görünürlüğü artırma */
*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Butonlar için focus durumu */
.btn:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.5);
}

/* Link'ler için focus durumu */
a:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 2px;
}

@media print {
    .admin-sidebar,
    .admin-mobile-menu-btn,
    .admin-mobile-overlay,
    .modern-alert,
    .btn {
        display: none !important;
    }

    .admin-card {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    main {
        margin-left: 0 !important;
    }
}