/* Body Wrapper - üst boşluğu minimize et */
.body-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #f8fcf9 !important; /* Çok açık yeşil - sidebar ile uyumlu */
}

.body-wrapper > .container-fluid {
    padding-top: 10px !important;
}

/* Topbar boşluğunu kaldır */
.topbar {
    padding: 0 !important;
    min-height: auto !important;
}

.page-wrapper {
    padding-top: 0 !important;
    background: #f8fcf9 !important; /* Çok açık yeşil */
}

/* Ana içerik alanı arka planı */
#main-wrapper {
    background: #f8fcf9 !important;
}

/* Mesajlaşma stilleri */
.max-w-75 {
    max-width: 75%;
}

.message-container {
    scroll-behavior: smooth;
}

.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.list-group-item.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.list-group-item.active h6 {
    color: white;
}

.unread-indicator {
    width: 8px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

.message-bubble {
    animation: fadeIn 0.3s ease-in;
}

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

/* Mesaj input alanı */
.message-input-container {
    position: sticky;
    bottom: 0;
    background-color: white;
    border-top: 1px solid #dee2e6;
    padding: 15px;
}

/* Scrollbar özelleştirme */
#mesaj-alani::-webkit-scrollbar {
    width: 6px;
}

#mesaj-alani::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#mesaj-alani::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#mesaj-alani::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Admin paneli için tam genişlik - boxed layout override */
.body-wrapper > .container-fluid {
    max-width: 100% !important;
}

/* Modern Sekme Tasarimi */
.nav-tabs-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: none;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
}
.nav-tabs-custom .nav-link {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    padding: 10px 18px;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s ease;
}
.nav-tabs-custom .nav-link:hover {
    color: #05a53f;
    border-color: #05a53f;
    background: rgba(93, 135, 255, 0.05);
}
.nav-tabs-custom .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #05a53f 0%, #3b5998 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(93, 135, 255, 0.3);
}
.nav-tabs-custom .nav-link i {
    margin-right: 6px;
}

/* ========================================
   MODERN SİDEBAR - KOYU TEMA
   ======================================== */

/* Sol sidebar - Açık yeşil-gri gradient arka plan */
.left-sidebar {
    background: linear-gradient(180deg, #f0fdf4 0%, #e8f5ec 100%) !important;
    border-right: 1px solid rgba(5, 165, 63, 0.1) !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.04) !important;
}

/* Logo alanı - Beyaz arka plan */
.left-sidebar .brand-logo {
    padding: 20px !important;
    border-bottom: none;
    background: #ffffff !important;
    border-radius: 0 0 16px 16px;
    margin: 0 12px 16px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.left-sidebar .brand-logo img {
    transition: all 0.3s ease;
}

.left-sidebar .brand-logo:hover img {
    transform: scale(1.03);
}

/* Scroll sidebar alanı */
.left-sidebar .scroll-sidebar {
    padding: 20px 16px !important;
}

/* Sidebar scrollbar - ince ve şık */
.left-sidebar .scroll-sidebar::-webkit-scrollbar {
    width: 3px;
}

.left-sidebar .scroll-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.left-sidebar .scroll-sidebar::-webkit-scrollbar-thumb {
    background: rgba(5, 165, 63, 0.2);
    border-radius: 10px;
}

.left-sidebar .scroll-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 165, 63, 0.35);
}

/* Bölüm başlıkları - Modern stil */
.sidebar-nav ul .nav-small-cap {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #059669 !important;
    padding: 20px 16px 8px 16px !important;
    margin-top: 8px !important;
    position: relative;
}

.sidebar-nav ul .nav-small-cap::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    top: 8px;
    height: 1px;
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.2) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.sidebar-nav ul .nav-small-cap:first-child {
    padding-top: 8px !important;
    margin-top: 0 !important;
}

.sidebar-nav ul .nav-small-cap:first-child::before {
    display: none;
}

.sidebar-nav ul .nav-small-cap .nav-small-cap-icon {
    display: none !important;
}

/* Sidebar menü öğeleri */
.sidebar-nav ul .sidebar-item {
    margin: 4px 0 !important;
}

.sidebar-nav ul .sidebar-item .sidebar-link {
    padding: 14px 18px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    position: relative;
    gap: 14px !important;
    border: 1px solid transparent !important;
}

/* İkon stilleri - Lucide Icons */
.sidebar-nav ul .sidebar-item .sidebar-link .lucide {
    width: 20px !important;
    height: 20px !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0;
    stroke-width: 1.75;
}

/* Hover efekti */
.sidebar-nav ul .sidebar-item .sidebar-link:hover {
    background: rgba(5, 165, 63, 0.08) !important;
    color: #059669 !important;
    border-color: rgba(5, 165, 63, 0.15) !important;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover .lucide {
    color: #059669 !important;
}

/* ===== AKTİF MENÜ - BEYAZ ARKA PLAN, YEŞİL YAZI ===== */
.sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
    background: #ffffff !important;
    color: #059669 !important;
    font-weight: 600 !important;
    border-color: rgba(5, 165, 63, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link .lucide,
.sidebar-nav ul .sidebar-item > .sidebar-link.active .lucide {
    color: #059669 !important;
}

/* Aktif menü sol yeşil çizgi */
.sidebar-nav ul .sidebar-item.selected > .sidebar-link::before,
.sidebar-nav ul .sidebar-item > .sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: #059669;
    border-radius: 0 4px 4px 0;
}

/* Menü ayırıcıları kaldır - temiz görünüm */
.sidebar-nav ul .sidebar-item:not(:last-child)::after {
    display: none;
}

/* Alt menü stilleri */
.sidebar-nav ul .sidebar-item .first-level {
    padding: 8px 0 !important;
    margin: 0 !important;
    background: rgba(5, 165, 63, 0.03);
    border-radius: 0 0 10px 10px;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item {
    margin: 2px 0 !important;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link {
    padding: 10px 18px 10px 48px !important;
    font-size: 13px !important;
    color: #64748b !important;
    border-radius: 0 !important;
    position: relative;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link .lucide {
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link:hover {
    background: rgba(5, 165, 63, 0.08) !important;
    color: #059669 !important;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link.active {
    background: rgba(5, 165, 63, 0.12) !important;
    color: #059669 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item > .sidebar-link.active::before {
    display: none;
}

/* Has-arrow (açılır menü) ok ikonu */
.sidebar-link.has-arrow {
    position: relative !important;
}

.sidebar-link.has-arrow::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(45deg) !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid #94a3b8 !important;
    border-bottom: 2px solid #94a3b8 !important;
    border-left: none !important;
    border-top: none !important;
    background: transparent !important;
    transition: transform 0.3s ease !important;
}

.sidebar-link.has-arrow[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-135deg) !important;
}

.sidebar-link.has-arrow.active::after {
    border-color: #059669 !important;
}

/* Collapse animasyonu */
.sidebar-nav .collapse {
    transition: all 0.3s ease;
}

.sidebar-nav .collapse.show,
.sidebar-nav .collapse.in {
    display: block;
}

/* Sidebar Toggle Button */
.left-sidebar .sidebartoggler {
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(5, 165, 63, 0.08);
    color: #059669 !important;
    transition: all 0.2s ease;
    border: 1px solid rgba(5, 165, 63, 0.15);
}

.left-sidebar .sidebartoggler:hover {
    background: rgba(5, 165, 63, 0.15);
    color: #047857 !important;
}

/* Mini sidebar geçiş */
@media (min-width: 1200px) {
    [data-sidebartype="mini-sidebar"] .left-sidebar {
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    [data-sidebartype="mini-sidebar"] .left-sidebar:hover {
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.08) !important;
    }
}

/* Mobil overlay */
@media (max-width: 1199px) {
    .show-sidebar + .dark-transparent {
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(4px);
    }
}

/* ========================================
   MODERN ŞIK BREADCRUMB
   ======================================== */

.modern-breadcrumb {
    padding: 20px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdfb 50%, #f0fdf4 100%);
    border-radius: 16px;
    border: 1px solid rgba(5, 165, 63, 0.12);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(5, 165, 63, 0.06);
    position: relative;
    overflow: hidden;
}

/* Dekoratif arka plan deseni */
.modern-breadcrumb::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(5, 165, 63, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modern-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(5, 165, 63, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modern-breadcrumb > div {
    position: relative;
    z-index: 1;
}

.modern-breadcrumb .breadcrumb-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.modern-breadcrumb .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.8125rem;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px !important;
    list-style: none;
}

.modern-breadcrumb .breadcrumb-item {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 !important;
    margin: 0 !important;
}

.modern-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: #059669;
    background: rgba(5, 165, 63, 0.08);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: #059669;
    font-weight: 600;
    background: rgba(5, 165, 63, 0.1);
    padding: 4px 12px !important;
    border-radius: 6px;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item {
    padding-left: 0 !important;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "" !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/12px no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
    float: none !important;
    color: transparent !important;
}

.modern-breadcrumb .breadcrumb-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover .breadcrumb-icon {
    transform: scale(1.1);
}

/* Home ikonu için özel stil */
.modern-breadcrumb .breadcrumb-item:first-child a {
    background: rgba(5, 165, 63, 0.08);
    padding: 6px 10px;
    border-radius: 8px;
}

.modern-breadcrumb .breadcrumb-item:first-child a:hover {
    background: rgba(5, 165, 63, 0.15);
}

/* Action button alanı */
.modern-breadcrumb .btn {
    box-shadow: 0 2px 8px rgba(5, 165, 63, 0.2);
}

/* Responsive */
@media (max-width: 576px) {
    .modern-breadcrumb {
        padding: 16px 18px;
        border-radius: 12px;
    }

    .modern-breadcrumb::before,
    .modern-breadcrumb::after {
        display: none;
    }

    .modern-breadcrumb .breadcrumb-title {
        font-size: 1.15rem;
    }

    .modern-breadcrumb .breadcrumb {
        font-size: 0.75rem;
    }

    .modern-breadcrumb .breadcrumb-item.active {
        padding: 3px 8px;
    }
}

/* ========================================
   SIDEBAR USER PROFILE
   ======================================== */

.sidebar-user-profile {
    padding: 0 16px;
    margin-bottom: 16px;
}

.sidebar-user-profile .user-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(5, 165, 63, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.sidebar-user-profile .user-profile-card:hover {
    box-shadow: 0 4px 12px rgba(5, 165, 63, 0.1);
}

.sidebar-user-profile .user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.sidebar-user-profile .user-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sidebar-user-profile .user-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sidebar-user-profile .user-role {
    font-size: 11px;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-profile .user-menu-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-user-profile .user-menu-toggle:hover {
    background: rgba(5, 165, 63, 0.1);
    color: #059669;
}

.sidebar-user-profile .user-menu-toggle .lucide {
    width: 16px;
    height: 16px;
}

.sidebar-user-profile .dropdown-menu {
    min-width: 200px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    margin-top: 8px !important;
}

.sidebar-user-profile .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}

.sidebar-user-profile .dropdown-item:hover {
    background: rgba(5, 165, 63, 0.08);
}

.sidebar-user-profile .dropdown-item .lucide {
    width: 16px;
    height: 16px;
}

.sidebar-user-profile .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.08);
}

.sidebar-user-profile .dropdown-divider {
    margin: 4px 0;
    opacity: 0.1;
}

.sidebar-user-profile .dropdown-header {
    font-size: 12px;
}

/* Mini sidebar için gizle */
[data-sidebartype="mini-sidebar"] .sidebar-user-profile .user-info,
[data-sidebartype="mini-sidebar"] .sidebar-user-profile .user-menu-toggle {
    display: none;
}

[data-sidebartype="mini-sidebar"] .sidebar-user-profile .user-profile-card {
    padding: 10px;
    justify-content: center;
}

[data-sidebartype="mini-sidebar"] .left-sidebar:hover .sidebar-user-profile .user-info,
[data-sidebartype="mini-sidebar"] .left-sidebar:hover .sidebar-user-profile .user-menu-toggle {
    display: flex;
}

[data-sidebartype="mini-sidebar"] .left-sidebar:hover .sidebar-user-profile .user-profile-card {
    padding: 14px 16px;
    justify-content: flex-start;
}

/* ========================================
   MODERN BOOTSTRAP BUTONLARI
   ======================================== */

/* Genel buton stilleri */
.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Buton boyutları */
.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

/* Primary Button - Yeşil tema */
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.45);
    color: white;
}

.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
    color: white;
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    box-shadow: 0 6px 25px rgba(100, 116, 139, 0.4);
    color: white;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #4ade80 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
}

.btn-success:hover {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
    box-shadow: 0 6px 25px rgba(22, 163, 74, 0.45);
    color: white;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.45);
    color: white;
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
    box-shadow: 0 6px 25px rgba(217, 119, 6, 0.45);
    color: white;
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.35);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #06b6d4 100%);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.45);
    color: white;
}

/* Light Button */
.btn-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.btn-light:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    color: #334155;
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.4);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    box-shadow: 0 6px 25px rgba(30, 41, 59, 0.5);
    color: white;
}

/* Outline Butonlar */
.btn-outline-primary {
    background: transparent;
    color: #059669;
    border: 2px solid #059669;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-outline-secondary {
    background: transparent;
    color: #64748b;
    border: 2px solid #64748b;
    box-shadow: none;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.35);
}

.btn-outline-success {
    background: transparent;
    color: #16a34a;
    border: 2px solid #16a34a;
    box-shadow: none;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.btn-outline-danger {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
    box-shadow: none;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.btn-outline-warning {
    background: transparent;
    color: #d97706;
    border: 2px solid #d97706;
    box-shadow: none;
}

.btn-outline-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-outline-info {
    background: transparent;
    color: #0891b2;
    border: 2px solid #0891b2;
    box-shadow: none;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.35);
}

/* İkon butonlar için */
.btn .lucide,
.btn i {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.btn-sm .lucide,
.btn-sm i {
    width: 16px;
    height: 16px;
}

.btn-lg .lucide,
.btn-lg i {
    width: 20px;
    height: 20px;
}

/* Buton grupları */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 10px 0 0 10px;
}

.btn-group .btn:last-child {
    border-radius: 0 10px 10px 0;
}

.btn-group-sm .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.btn-group-sm .btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Disabled state */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Link buton */
.btn-link {
    background: transparent;
    box-shadow: none;
    color: #059669;
    text-decoration: none;
    padding: 10px 16px;
}

.btn-link:hover {
    background: rgba(5, 150, 105, 0.08);
    color: #047857;
    transform: none;
    box-shadow: none;
    text-decoration: none;
}

/* ========================================
   MODERN CARD STİLLERİ
   ======================================== */

/* Tüm kartlar için temel stil */
.card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03) !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

/* Card header */
.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 20px 24px !important;
    font-weight: 600;
}

.card-header:first-child {
    border-radius: 16px 16px 0 0 !important;
}

/* Card body */
.card-body {
    padding: 24px !important;
}

/* Card footer */
.card-footer {
    background: transparent !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 16px 24px !important;
}

.card-footer:last-child {
    border-radius: 0 0 16px 16px !important;
}

/* İç içe kartlar için daha düşük radius */
.card .card {
    border-radius: 12px !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
}

/* Stat kartları - Özel vurgulu stil */
.card.zoom-in,
.card.stat-card {
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.card.zoom-in:hover,
.card.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Renkli arka planlı kartlar */
.card.bg-primary-subtle,
.card.bg-success-subtle,
.card.bg-warning-subtle,
.card.bg-danger-subtle,
.card.bg-info-subtle,
.card.bg-secondary-subtle {
    border-radius: 20px !important;
    border: none !important;
}

/* Modal içindeki kartlar */
.modal-content .card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
}

/* Tablo içeren kartlar */
.card .table-responsive {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.card .table {
    margin-bottom: 0;
}

.card .table thead {
    background: #f8fafc;
}

.card .table thead th {
    border-top: none;
    font-weight: 600;
    color: #475569;
    padding: 14px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card .table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.04);
}

.card .table tbody tr:last-child td {
    border-bottom: none;
}

/* Card group */
.card-group .card {
    border-radius: 0 !important;
}

.card-group .card:first-child {
    border-radius: 16px 0 0 16px !important;
}

.card-group .card:last-child {
    border-radius: 0 16px 16px 0 !important;
}

/* Akordeon kartlar */
.accordion .card {
    border-radius: 12px !important;
    margin-bottom: 8px;
}

.accordion .card-header {
    padding: 16px 20px !important;
    cursor: pointer;
}

/* Alert içeren kartlar */
.card .alert {
    border-radius: 12px;
    margin: 0;
}

/* Tab içeren kartlar */
.card .nav-tabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 24px;
}

.card .tab-content {
    padding: 24px;
}

/* List group içeren kartlar */
.card .list-group {
    border-radius: 0;
}

.card .list-group-item:first-child {
    border-top: none;
}

.card .list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

/* Form içeren kartlar */
.card .form-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .card {
        border-radius: 12px !important;
    }

    .card-header {
        padding: 16px 18px !important;
    }

    .card-body {
        padding: 18px !important;
    }

    .card.zoom-in,
    .card.stat-card {
        border-radius: 14px !important;
    }
}
