/**
 * SmartAdmin 1.9 - Dropdown Menu Only
 * Sadece aÃ§Ä±lan alt menÃ¼ stilleri - Ã¼st menÃ¼ye dokunmaz
 * 
 * Bu CSS dosyasÄ±nÄ± smartadmin-skins.min.css'den SONRA yÃ¼kleyin
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --dropdown-primary: #3b4d7a;
    --dropdown-primary-light: #e8ecf4;
    --dropdown-white: #ffffff;
    --dropdown-gray-50: #fafafa;
    --dropdown-gray-100: #f4f4f5;
    --dropdown-gray-200: #e4e4e7;
    --dropdown-gray-500: #71717a;
    --dropdown-gray-600: #52525b;
}

/* ============================================
   AÃ§Ä±lan Alt MenÃ¼ (Dropdown) - Dikey Sidebar
   ============================================ */

/* MenÃ¼ aÃ§Ä±lÄ±ÅŸ animasyonu */
@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menuItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.smart-style-3 nav ul ul {
    background: var(--dropdown-white) !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    animation: menuSlideDown 0.3s ease-out;
}

.smart-style-3 nav ul ul li {
    position: relative;
    animation: menuItemFadeIn 0.3s ease-out backwards;
}

.smart-style-3 nav ul ul li:nth-child(1) { animation-delay: 0.05s; }
.smart-style-3 nav ul ul li:nth-child(2) { animation-delay: 0.1s; }
.smart-style-3 nav ul ul li:nth-child(3) { animation-delay: 0.15s; }
.smart-style-3 nav ul ul li:nth-child(4) { animation-delay: 0.2s; }
.smart-style-3 nav ul ul li:nth-child(5) { animation-delay: 0.25s; }
.smart-style-3 nav ul ul li:nth-child(6) { animation-delay: 0.3s; }
.smart-style-3 nav ul ul li:nth-child(7) { animation-delay: 0.35s; }
.smart-style-3 nav ul ul li:nth-child(8) { animation-delay: 0.4s; }
.smart-style-3 nav ul ul li:nth-child(9) { animation-delay: 0.45s; }
.smart-style-3 nav ul ul li:nth-child(10) { animation-delay: 0.5s; }

.smart-style-3 nav ul ul li > a {
    color: var(--dropdown-gray-600) !important;
    padding: 10px 16px 10px 52px !important;
    font-size: 13px !important;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-left: 3px solid transparent;
    position: relative;
}

/* Hover efekti - soldan saÄŸa dolgu */
.smart-style-3 nav ul ul li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(59, 77, 122, 0.12) 0%, 
        rgba(59, 77, 122, 0.02) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.smart-style-3 nav ul ul li > a:hover::before {
    width: 100%;
}

.smart-style-3 nav ul ul li > a:hover {
    color: var(--dropdown-primary) !important;
    padding-left: 56px !important;
    border-left-color: var(--dropdown-primary) !important;
    background: transparent !important;
}

/* Aktif alt menÃ¼ */
.smart-style-3 nav ul ul li.active > a {
    color: var(--dropdown-primary) !important;
    font-weight: 600;
    border-left-color: var(--dropdown-primary) !important;
    background: rgba(59, 77, 122, 0.06) !important;
}

.smart-style-3 nav ul ul li.active > a::before {
    width: 100%;
}

/* 3. seviye alt menÃ¼ */
.smart-style-3 nav ul ul ul {
    background: var(--dropdown-gray-50) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.smart-style-3 nav ul ul ul li > a {
    padding-left: 68px !important;
}

.smart-style-3 nav ul ul ul li > a:hover {
    padding-left: 72px !important;
}

/* Eski dekorasyonlarÄ± kaldÄ±r */
.smart-style-3 nav > ul ul li::before,
.smart-style-3 nav > ul > li > ul::before {
    display: none !important;
}

/* ============================================
   AÃ§Ä±lan Alt MenÃ¼ - Menu On Top (Yatay MenÃ¼)
   ============================================ */
.smart-style-3.menu-on-top nav ul ul,
.smart-style-3.menu-on-top nav > ul > li > ul {
    background: var(--dropdown-white) !important;
    border: none !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 8px 0 !important;
    border-top: 3px solid var(--dropdown-primary) !important;
    min-width: 220px;
    animation: menuSlideDown 0.3s ease-out;
}

.smart-style-3.menu-on-top nav ul ul li {
    animation: menuItemFadeIn 0.3s ease-out backwards;
}

.smart-style-3.menu-on-top nav ul ul li:nth-child(1) { animation-delay: 0.05s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(2) { animation-delay: 0.1s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(3) { animation-delay: 0.15s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(4) { animation-delay: 0.2s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(5) { animation-delay: 0.25s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(6) { animation-delay: 0.3s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(7) { animation-delay: 0.35s; }
.smart-style-3.menu-on-top nav ul ul li:nth-child(8) { animation-delay: 0.4s; }

.smart-style-3.menu-on-top nav ul ul li > a {
    color: var(--dropdown-gray-600) !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-left: 3px solid transparent !important;
    position: relative;
}

/* Menu on top hover efekti */
.smart-style-3.menu-on-top nav ul ul li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(59, 77, 122, 0.12) 0%, 
        rgba(59, 77, 122, 0.02) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.smart-style-3.menu-on-top nav ul ul li > a:hover::before {
    width: 100%;
}

.smart-style-3.menu-on-top nav ul ul li > a:hover {
    color: var(--dropdown-primary) !important;
    background: transparent !important;
    padding-left: 24px !important;
    border-left-color: var(--dropdown-primary) !important;
}

.smart-style-3.menu-on-top nav ul ul li.active > a {
    color: var(--dropdown-primary) !important;
    background: rgba(59, 77, 122, 0.06) !important;
    font-weight: 600;
    border-left-color: var(--dropdown-primary) !important;
}

/* 3. seviye - menu on top */
.smart-style-3.menu-on-top nav ul ul ul {
    border-top: none !important;
    border-left: 3px solid var(--dropdown-primary) !important;
}

/* ============================================
   Minified Sidebar Dropdown
   ============================================ */
.smart-style-3.minified nav > ul > li > ul {
    background: var(--dropdown-white) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border-left: 3px solid var(--dropdown-primary) !important;
    padding: 8px 0 !important;
}

.smart-style-3.minified nav ul ul li > a {
    padding: 10px 16px !important;
    color: var(--dropdown-gray-600) !important;
    border-left: 3px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

.smart-style-3.minified nav ul ul li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(59, 77, 122, 0.12) 0%, 
        rgba(59, 77, 122, 0.02) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.smart-style-3.minified nav ul ul li > a:hover::before {
    width: 100%;
}

.smart-style-3.minified nav ul ul li > a:hover {
    padding-left: 20px !important;
    color: var(--dropdown-primary) !important;
    border-left-color: var(--dropdown-primary) !important;
    background: transparent !important;
}

.smart-style-3.minified nav ul ul li.active > a {
    color: var(--dropdown-primary) !important;
    border-left-color: var(--dropdown-primary) !important;
    background: rgba(59, 77, 122, 0.06) !important;
    font-weight: 600;
}



/* ============================================
   CSS Variables - Modern Palet
   ============================================ */
:root {
    --table-primary: #3b4d7a;
    --table-primary-light: #e8ecf4;
    --table-accent: #667eea;
    --table-success: #10b981;
    --table-warning: #f59e0b;
    --table-danger: #ef4444;
    --table-info: #06b6d4;
    
    --table-bg: #ffffff;
    --table-header-bg: #f8f9fa;
    --table-header-text: #2d3748;
    --table-border: #e5e7eb;
    --table-hover: #f1f5f9;
    --table-stripe: #fafbfc;
    --table-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --table-shadow-hover: 0 4px 12px rgba(102, 126, 234, 0.15);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   1. TABLO CONTAINER - Premium Wrapper
   ============================================ */
.smart-style-3 .dataTables_wrapper {
    position: relative;
    background: var(--table-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

/* ============================================
   2. TOOLBAR - Modern Kontrol Paneli
   ============================================ */
.smart-style-3 .dt-toolbar,
.smart-style-3 .dt-toolbar-footer {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%) !important;
    border: none !important;
    border-bottom: 1px solid var(--table-border) !important;
    padding: 1.25rem 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.smart-style-3 .dt-toolbar-footer {
    border-top: 1px solid var(--table-border) !important;
    border-bottom: none !important;
}

/* Arama input'u modernleÅŸtir */
.smart-style-3 .dataTables_filter input {
    border: 2px solid var(--table-border) !important;
    border-radius: 12px !important;
    padding: 0.6rem 1rem 0.6rem 2.5rem !important;
    font-size: 14px !important;
    transition: var(--transition-smooth) !important;
    background: #ffffff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23667eea" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 0.8rem center !important;
    background-size: 16px !important;
}

.smart-style-3 .dataTables_filter input:focus {
    outline: none !important;
    border-color: var(--table-accent) !important;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1) !important;
    transform: translateY(-1px);
}

/* ============================================
   3. TABLO YAPISI - WIDTH FIX
   ============================================ */
.smart-style-3 .dataTables_scrollHead,
.smart-style-3 .dataTables_scrollBody,
.smart-style-3 .dataTables_scrollHead table,
.smart-style-3 .dataTables_scrollBody table {
    width: 100% !important;
}

.smart-style-3 .table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
	overflow:auto!important;
	font-size:12px;
}

/* ============================================
   4. BAÅLIKLAR (THEAD) - Modern Header
   ============================================ */
.smart-style-3 .table > thead {
    background: var(--table-header-bg) !important;
}

.smart-style-3 .table > thead > tr {
    width: 100% !important;
}

.smart-style-3 .table > thead > tr > th {
    color: var(--table-header-text) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 12px !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    white-space: nowrap;
    background: var(--table-header-bg) !important;
    background-image: none !important;
    vertical-align: middle !important;
}

/* SÄ±ralama ikonlarÄ± */
.smart-style-3 .table > thead > tr > th.sorting,
.smart-style-3 .table > thead > tr > th.sorting_asc,
.smart-style-3 .table > thead > tr > th.sorting_desc {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.smart-style-3 .table > thead > tr > th.sorting:hover,
.smart-style-3 .table > thead > tr > th.sorting_asc:hover,
.smart-style-3 .table > thead > tr > th.sorting_desc:hover {
    background: rgba(102, 126, 234, 0.08) !important;
    color: var(--table-accent) !important;
}

/* ============================================
   5. SATIR VE HÃœCRELER - Animate & Interactive
   ============================================ */
.smart-style-3 .table > tbody > tr {
    transition: var(--transition-smooth);
    width: 100% !important;
}



.smart-style-3 .table > tbody > tr > td {
    padding: 14px 12px !important;
    vertical-align: middle !important;
    border: none;
    border-bottom: 1px solid var(--table-border) !important;
    font-size: 13px !important;
    color: #374151 !important;
    transition: var(--transition-smooth);
    background-color: transparent !important;
}




.smart-style-3 .table > tbody > tr:hover {
	
    background: var(--table-hover) !important;
   
    z-index: 10;
    position: relative;
}



.smart-style-3 .table > tbody > tr:hover > td {
    background: transparent !important;
    color: var(--table-primary) !important;
}

/* Sol kenarda highlight - gradient background ile */
.smart-style-3 .table > tbody > tr > td:first-child {
    position: relative;
}

.smart-style-3 .table > tbody > tr > td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.smart-style-3 .table > tbody > tr:hover > td:first-child::before {
    opacity: 1;
}

/* Zebra striping - Modern */
.smart-style-3 .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: var(--table-stripe) !important;
}

.smart-style-3 .table-striped > tbody > tr:nth-of-type(odd):hover > td {
    background-color: transparent !important;
}

/* Son satÄ±r */
.smart-style-3 .table > tbody > tr:last-child > td {
    border-bottom: none !important;
}

/* ============================================
   6. BADGE & LABEL STÄ°LLERÄ° - Premium Pills
   ============================================ */
.smart-style-3 .table .badge,
.smart-style-3 .table .label {
    padding: 0.35rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-bounce) !important;
    border: none !important;
}

.smart-style-3 .table .badge:hover,
.smart-style-3 .table .label:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge renkleri - Modern paletler */
.smart-style-3 .table .badge-success,
.smart-style-3 .table .label-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.smart-style-3 .table .badge-warning,
.smart-style-3 .table .label-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

.smart-style-3 .table .badge-danger,
.smart-style-3 .table .label-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
}

.smart-style-3 .table .badge-info,
.smart-style-3 .table .label-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: #ffffff !important;
}

.smart-style-3 .table .badge-primary,
.smart-style-3 .table .label-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

/* ============================================
   7. BUTONLAR - Hover efekti
   ============================================ */
.smart-style-3 .table td .btn {
    transition: all 0.2s ease !important;
}

.smart-style-3 .table td .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.smart-style-3 .table td .btn:active {
    transform: translateY(0px);
}

/* ============================================
   8. PAGINATION - Premium Sayfalama
   ============================================ */
.smart-style-3 .pagination {
    display: flex;
    gap: 0.4rem;
    margin: 0 !important;
}

.smart-style-3 .pagination > li > a,
.smart-style-3 .pagination > li > span {
    border: 2px solid var(--table-border) !important;
    color: #374151 !important;
    padding: 0.5rem 0.9rem !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    transition: var(--transition-bounce) !important;
    position: relative;
    overflow: hidden;
}

.smart-style-3 .pagination > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.smart-style-3 .pagination > li > a:hover::before {
    left: 100%;
}

.smart-style-3 .pagination > li > a:hover {
    border-color: var(--table-accent) !important;
    color: var(--table-accent) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.smart-style-3 .pagination > .active > a,
.smart-style-3 .pagination > .active > span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.08);
}

.smart-style-3 .pagination > .disabled > a,
.smart-style-3 .pagination > .disabled > span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   9. CHECKBOX & RADIO
   ============================================ */
.smart-style-3 .table input[type="checkbox"],
.smart-style-3 .table input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--table-accent);
}

/* ============================================
   10. LOADING STATE
   ============================================ */
.smart-style-3 .dataTables_processing {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 2rem 3rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================
   11. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .smart-style-3 .table > thead > tr > th,
    .smart-style-3 .table > tbody > tr > td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
    
    .smart-style-3 .dt-toolbar,
    .smart-style-3 .dt-toolbar-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   12. SCROLLBAR
   ============================================ */
.smart-style-3 .dataTables_scrollBody::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.smart-style-3 .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.smart-style-3 .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 10px;
}

/* ============================================
   13. SELECTED ROW
   ============================================ */
.smart-style-3 .table > tbody > tr.selected {
    background: rgba(102, 126, 234, 0.08) !important;
}

.smart-style-3 .table > tbody > tr.selected > td:first-child {
    box-shadow: inset 4px 0 0 var(--table-accent);
}