﻿/**
* Template Name: NiceAdmin
* Updated: Jan 29 2024 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root { scroll-behavior: smooth; }

body { font-family: "Open Sans", sans-serif; background: #f6f9ff; color: #444444; }

a { color: #4154f1; text-decoration: none; }

    a:hover { color: #717ff5; text-decoration: none; }

h1,
h2,
h3,
h4,
h5,
h6 { font-family: "Nunito", sans-serif; }

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main { margin-top: 60px;/* padding: 20px 30px;*/ transition: all 0.3s; }

@media (max-width: 1199px) {
    #main { padding: 20px!important; }
}
@media (max-width: 767px) {
    #main { padding: 0px!important; }
    .accordion-body{padding:0px!important;}
}
/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle { margin-bottom: 10px; }

    .pagetitle h1 { font-size: 24px; margin-bottom: 0; font-weight: 600; color: #012970; }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top { position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: 15px; z-index: 99999; background: #4154f1; width: 40px; height: 40px; border-radius: 4px; transition: all 0.4s; }

    .back-to-top i { font-size: 24px; color: #fff; line-height: 0; }

    .back-to-top:hover { background: #6776f4; color: #fff; }

    .back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu { border-radius: 4px; padding: 10px 0; animation-name: dropdown-animate; animation-duration: 0.2s; animation-fill-mode: both; border: 0; box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2); }

    .dropdown-menu .dropdown-header,
    .dropdown-menu .dropdown-footer { text-align: center; font-size: 15px; padding: 10px 25px; }

        .dropdown-menu .dropdown-footer a { color: #444444; text-decoration: underline; }

            .dropdown-menu .dropdown-footer a:hover { text-decoration: none; }

    .dropdown-menu .dropdown-divider { color: #a5c5fe; margin: 0; }

    .dropdown-menu .dropdown-item { font-size: 14px; padding: 10px 15px; transition: 0.3s; }

        .dropdown-menu .dropdown-item i { margin-right: 10px; font-size: 18px; line-height: 0; }

        .dropdown-menu .dropdown-item:hover { background-color: #f6f9ff; }

@media (min-width: 768px) {
    .dropdown-menu-arrow::before { content: ""; width: 13px; height: 13px; background: #fff; position: absolute; top: -7px; right: 20px; transform: rotate(45deg); border-top: 1px solid #eaedf1; border-left: 1px solid #eaedf1; }
}

@keyframes dropdown-animate {
    0% { opacity: 0; }

    100% { opacity: 1; }

    0% { opacity: 0; }
}

/* Light Backgrounds */
.bg-primary-light { background-color: #cfe2ff; border-color: #cfe2ff; }

.bg-secondary-light { background-color: #e2e3e5; border-color: #e2e3e5; }

.bg-success-light { background-color: #d1e7dd; border-color: #d1e7dd; }

.bg-danger-light { background-color: #f8d7da; border-color: #f8d7da; }

.bg-warning-light { background-color: #fff3cd; border-color: #fff3cd; }

.bg-info-light { background-color: #cff4fc; border-color: #cff4fc; }

.bg-dark-light { background-color: #d3d3d4; border-color: #d3d3d4; }

/* Card */
.card { margin-bottom: 30px; border: none; border-radius: 5px; box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1); }

.card-header,
.card-footer { border-color: #ebeef4; background-color: #fff; color: #798eb3; padding: 15px; }

.card-title { padding: 20px 0 15px 0; font-size: 18px; font-weight: 500; color: #012970; font-family: "Poppins", sans-serif; }

    .card-title span { color: #899bbd; font-size: 14px; font-weight: 400; }

.card-body { padding: 0 20px 20px 20px; }

.card-img-overlay { background-color: rgba(255, 255, 255, 0.6); }

/* Alerts */
.alert-heading { font-weight: 500; font-family: "Poppins", sans-serif; font-size: 20px; }

/* Close Button */
.btn-close { background-size: 25%; }

    .btn-close:focus { outline: 0; box-shadow: none; }

/* Accordion */
.accordion-item { border: 1px solid #ebeef4; }

.accordion-button:focus { outline: 0; box-shadow: none; }

.accordion-button:not(.collapsed) { color: #012970; background-color: #f6f9ff; }

.accordion-flush .accordion-button { padding: 15px 0; background: none; border: 0; }

    .accordion-flush .accordion-button:not(.collapsed) { box-shadow: none; color: #4154f1; }

.accordion-flush .accordion-body { padding: 0 0 15px 0; color: #3e4f6f; font-size: 15px; }

/* Breadcrumbs */
.breadcrumb { font-size: 14px; font-family: "Nunito", sans-serif; color: #899bbd; font-weight: 600; }

    .breadcrumb a { color: #899bbd; transition: 0.3s; }

        .breadcrumb a:hover { color: #51678f; }

    .breadcrumb .breadcrumb-item::before { color: #899bbd; }

    .breadcrumb .active { color: #51678f; font-weight: 600; }

/* Bordered Tabs */
.nav-tabs-bordered { border-bottom: 2px solid #ebeef4; }

    .nav-tabs-bordered .nav-link { margin-bottom: -2px; border: none; color: #2c384e; }

        .nav-tabs-bordered .nav-link:hover,
        .nav-tabs-bordered .nav-link:focus { color: #4154f1; }

        .nav-tabs-bordered .nav-link.active { background-color: #fff; color: #4154f1; border-bottom: 2px solid #4154f1; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo { line-height: 1; }

@media (min-width: 1200px) {
    .logo { width: 280px; }
}

.logo img { max-height: 26px; margin-right: 6px; }
.login-description h3 { color: white; font-weight: bold; }
.login-description p { color: white; }

.login-logo img { margin-right: 6px; }

.logo span { font-size: 26px; font-weight: 700; color: #012970; font-family: "Nunito", sans-serif; }

.header { transition: all 0.5s; z-index: 997; height: 60px; box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1); background-color: #fff; padding-left: 20px; /* Toggle Sidebar Button */ /* Search Bar */ }

    .header .toggle-sidebar-btn { font-size: 32px; padding-left: 10px; cursor: pointer; color: #012970; }

    .header .search-bar { min-width: 360px; padding: 0 20px; }

@media (max-width: 1199px) {
    .header .search-bar { position: fixed; top: 50px; left: 0; right: 0; padding: 20px; box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1); background: white; z-index: 9999; transition: 0.3s; visibility: hidden; opacity: 0; }

    .header .search-bar-show { top: 60px; visibility: visible; opacity: 1; }
}

.header .search-form { width: 100%; }

    .header .search-form input { border: 0; font-size: 14px; color: #012970; border: 1px solid rgba(1, 41, 112, 0.2); padding: 7px 38px 7px 8px; border-radius: 3px; transition: 0.3s; width: 100%; }

        .header .search-form input:focus,
        .header .search-form input:hover { outline: none; box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15); border: 1px solid rgba(1, 41, 112, 0.3); }

    .header .search-form button { border: 0; padding: 0; margin-left: -30px; background: none; }

        .header .search-form button i { color: #012970; }

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul { list-style: none; }

.header-nav > ul { margin: 0; padding: 0; }

.header-nav .nav-icon { font-size: 22px; color: #012970; margin-right: 25px; position: relative; }

.header-nav .nav-profile { color: #012970; }

    .header-nav .nav-profile img { max-height: 36px; }

    .header-nav .nav-profile span { font-size: 14px; font-weight: 600; }

.header-nav .badge-number { position: absolute; inset: -2px -5px auto auto; font-weight: normal; font-size: 12px; padding: 3px 6px; }

.header-nav .notifications { inset: 8px -15px auto auto !important; }

    .header-nav .notifications .notification-item { display: flex; align-items: center; padding: 15px 10px; transition: 0.3s; }

        .header-nav .notifications .notification-item i { margin: 0 20px 0 10px; font-size: 24px; }

        .header-nav .notifications .notification-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }

        .header-nav .notifications .notification-item p { font-size: 13px; margin-bottom: 3px; color: #919191; }

        .header-nav .notifications .notification-item:hover { background-color: #f6f9ff; }

.header-nav .messages { inset: 8px -15px auto auto !important; }

    .header-nav .messages .message-item { padding: 15px 10px; transition: 0.3s; }

        .header-nav .messages .message-item a { display: flex; }

        .header-nav .messages .message-item img { margin: 0 20px 0 10px; max-height: 40px; }

        .header-nav .messages .message-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; color: #444444; }

        .header-nav .messages .message-item p { font-size: 13px; margin-bottom: 3px; color: #919191; }

        .header-nav .messages .message-item:hover { background-color: #f6f9ff; }

.header-nav .profile { min-width: 240px; padding-bottom: 0; top: 8px !important; }

    .header-nav .profile .dropdown-header h6 { font-size: 18px; margin-bottom: 0; font-weight: 600; color: #444444; }

    .header-nav .profile .dropdown-header span { font-size: 14px; }

    .header-nav .profile .dropdown-item { font-size: 14px; padding: 10px 15px; transition: 0.3s; }

        .header-nav .profile .dropdown-item i { margin-right: 10px; font-size: 18px; line-height: 0; }

        .header-nav .profile .dropdown-item:hover { background-color: #f6f9ff; }

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar { position: fixed; top: 60px; left: 0; bottom: 0; width: 300px; z-index: 996; transition: all 0.3s; padding: 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #aab7cf transparent; box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1); background-color: #fff; }

@media (max-width: 1199px) {
    .sidebar { left: -300px; }
}

.sidebar::-webkit-scrollbar { width: 5px; height: 8px; background-color: #fff; }

.sidebar::-webkit-scrollbar-thumb { background-color: #aab7cf; }

@media (min-width: 1200px) {

    #main,
    #footer { margin-left: 300px; }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar { left: 0; }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer { margin-left: 0; }

    .toggle-sidebar .sidebar { left: -300px; }
}

.sidebar-nav { padding: 0; margin: 0; list-style: none; }

    .sidebar-nav li { padding: 0; margin: 0; list-style: none; }

    .sidebar-nav .nav-item { margin-bottom: 5px; }

    .sidebar-nav .nav-heading { font-size: 11px; text-transform: uppercase; color: #899bbd; font-weight: 600; margin: 10px 0 5px 15px; }

    .sidebar-nav .nav-link { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: #4154f1; transition: 0.3s; background: #f6f9ff; padding: 10px 15px; border-radius: 4px; }

        .sidebar-nav .nav-link i { font-size: 16px; margin-right: 10px; color: #4154f1; }

        .sidebar-nav .nav-link.collapsed { color: #012970; background: #fff; }

            .sidebar-nav .nav-link.collapsed i { color: #899bbd; }

        .sidebar-nav .nav-link:hover { color: #4154f1; background: #f6f9ff; }

            .sidebar-nav .nav-link:hover i { color: #4154f1; }

        .sidebar-nav .nav-link .bi-chevron-down { margin-right: 0; transition: transform 0.2s ease-in-out; }

        .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down { transform: rotate(180deg); }

    .sidebar-nav .nav-content { padding: 5px 0 0 0; margin: 0; list-style: none; }

        .sidebar-nav .nav-content a { display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #012970; transition: 0.3s; padding: 10px 0 10px 40px; transition: 0.3s; }

            .sidebar-nav .nav-content a i { font-size: 6px; margin-right: 8px; line-height: 0; border-radius: 50%; }

            .sidebar-nav .nav-content a:hover,
            .sidebar-nav .nav-content a.active { color: #4154f1; }

                .sidebar-nav .nav-content a.active i { background-color: #4154f1; }

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter { position: absolute; right: 0px; top: 15px; }

    .dashboard .filter .icon { color: #aab7cf; padding-right: 20px; padding-bottom: 5px; transition: 0.3s; font-size: 16px; }

        .dashboard .filter .icon:hover,
        .dashboard .filter .icon:focus { color: #4154f1; }

    .dashboard .filter .dropdown-header { padding: 8px 15px; }

        .dashboard .filter .dropdown-header h6 { text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: 1px; color: #aab7cf; margin-bottom: 0; padding: 0; }

    .dashboard .filter .dropdown-item { padding: 8px 15px; }

/* Info Cards */
.dashboard .info-card { padding-bottom: 10px; }

    .dashboard .info-card h6 { font-size: 28px; color: #012970; font-weight: 700; margin: 0; padding: 0; }

.dashboard .card-icon { font-size: 32px; line-height: 0; width: 64px; height: 64px; flex-shrink: 0; flex-grow: 0; }

.dashboard .sales-card .card-icon { color: #4154f1; background: #f6f6fe; }

.dashboard .revenue-card .card-icon { color: #2eca6a; background: #e0f8e9; }

.dashboard .customers-card .card-icon { color: #ff771d; background: #ffecdf; }

/* Activity */
.dashboard .activity { font-size: 14px; }

    .dashboard .activity .activity-item .activite-label { color: #888; position: relative; flex-shrink: 0; flex-grow: 0; min-width: 64px; }

        .dashboard .activity .activity-item .activite-label::before { content: ""; position: absolute; right: -11px; width: 4px; top: 0; bottom: 0; background-color: #eceefe; }

    .dashboard .activity .activity-item .activity-badge { margin-top: 3px; z-index: 1; font-size: 11px; line-height: 0; border-radius: 50%; flex-shrink: 0; border: 3px solid #fff; flex-grow: 0; }

    .dashboard .activity .activity-item .activity-content { padding-left: 10px; padding-bottom: 20px; }

    .dashboard .activity .activity-item:first-child .activite-label::before { top: 5px; }

    .dashboard .activity .activity-item:last-child .activity-content { padding-bottom: 0; }

/* News & Updates */
.dashboard .news .post-item + .post-item { margin-top: 15px; }

.dashboard .news img { width: 80px; float: left; border-radius: 5px; }

.dashboard .news h4 { font-size: 15px; margin-left: 95px; font-weight: bold; margin-bottom: 5px; }

    .dashboard .news h4 a { color: #012970; transition: 0.3s; }

        .dashboard .news h4 a:hover { color: #4154f1; }

.dashboard .news p { font-size: 14px; color: #777777; margin-left: 95px; }

/* Recent Sales */
.dashboard .recent-sales { font-size: 14px; }

    .dashboard .recent-sales .table thead { background: #f6f6fe; }

        .dashboard .recent-sales .table thead th { border: 0; }

    .dashboard .recent-sales .dataTable-top { padding: 0 0 10px 0; }

    .dashboard .recent-sales .dataTable-bottom { padding: 10px 0 0 0; }

/* Top Selling */
.dashboard .top-selling { font-size: 14px; }

    .dashboard .top-selling .table thead { background: #f6f6fe; }

        .dashboard .top-selling .table thead th { border: 0; }

    .dashboard .top-selling .table tbody td { vertical-align: middle; }

    .dashboard .top-selling img { border-radius: 5px; max-width: 60px; }

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist { display: grid; max-width: 100%; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; padding-top: 15px; }

    .iconslist .icon { background-color: #fff; border-radius: 0.25rem; text-align: center; color: #012970; padding: 15px 0; }

    .iconslist i { margin: 0.25rem; font-size: 2.5rem; }

    .iconslist .label { font-family: var(--bs-font-monospace); display: inline-block; width: 100%; overflow: hidden; padding: 0.25rem; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; color: #666; }

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img { max-width: 120px; }

.profile .profile-card h2 { font-size: 24px; font-weight: 700; color: #2c384e; margin: 10px 0 0 0; }

.profile .profile-card h3 { font-size: 18px; }

.profile .profile-card .social-links a { font-size: 20px; display: inline-block; color: rgba(1, 41, 112, 0.5); line-height: 0; margin-right: 10px; transition: 0.3s; }

    .profile .profile-card .social-links a:hover { color: #012970; }

.profile .profile-overview .row { margin-bottom: 20px; font-size: 15px; }

.profile .profile-overview .card-title { color: #012970; }

.profile .profile-overview .label { font-weight: 600; color: rgba(1, 41, 112, 0.6); }

.profile .profile-edit label { font-weight: 600; color: rgba(1, 41, 112, 0.6); }

.profile .profile-edit img { max-width: 120px; }

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 { font-size: 18px; font-weight: 600; color: #4154f1; }

.faq .basic p { color: #6980aa; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box { padding: 28px 30px; }

    .contact .info-box i { font-size: 38px; line-height: 0; color: #4154f1; }

    .contact .info-box h3 { font-size: 20px; color: #012970; font-weight: 700; margin: 20px 0 10px 0; }

    .contact .info-box p { padding: 0; line-height: 24px; font-size: 14px; margin-bottom: 0; }

.contact .php-email-form .error-message { display: none; color: #fff; background: #ed3c0d; text-align: left; padding: 15px; margin-bottom: 24px; font-weight: 600; }

.contact .php-email-form .sent-message { display: none; color: #fff; background: #18d26e; text-align: center; padding: 15px; margin-bottom: 24px; font-weight: 600; }

.contact .php-email-form .loading { display: none; background: #fff; text-align: center; padding: 15px; margin-bottom: 24px; }

    .contact .php-email-form .loading:before { content: ""; display: inline-block; border-radius: 50%; width: 24px; height: 24px; margin: 0 10px -6px 0; border: 3px solid #18d26e; border-top-color: #eee; animation: animate-loading 1s linear infinite; }

.contact .php-email-form input,
.contact .php-email-form textarea { border-radius: 0; box-shadow: none; font-size: 14px; border-radius: 0; }

    .contact .php-email-form input:focus,
    .contact .php-email-form textarea:focus { border-color: #4154f1; }

.contact .php-email-form input { padding: 10px 15px; }

.contact .php-email-form textarea { padding: 12px 15px; }

.contact .php-email-form button[type=submit] { background: #4154f1; border: 0; padding: 10px 30px; color: #fff; transition: 0.4s; border-radius: 4px; }

    .contact .php-email-form button[type=submit]:hover { background: #5969f3; }

@keyframes animate-loading {
    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 { padding: 30px; }

    .error-404 h1 { font-size: 180px; font-weight: 700; color: #4154f1; margin-bottom: 0; line-height: 150px; }

    .error-404 h2 { font-size: 24px; font-weight: 700; color: #012970; margin-bottom: 30px; }

    .error-404 .btn { background: #51678f; color: #fff; padding: 8px 30px; }

        .error-404 .btn:hover { background: #3e4f6f; }

@media (min-width: 992px) {
    .error-404 img { max-width: 50%; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer { padding: 20px 0; font-size: 14px; transition: all 0.3s; border-top: 1px solid #cddfff; }

    .footer .copyright { text-align: center; color: #012970; }

    .footer .credits { padding-top: 5px; text-align: center; font-size: 13px; color: #012970; }

.form-select.custom-select { margin-left: 10px; background-position: right 2.5rem center !important; }
.icon-btn { padding: 0px; /* Varsayılan olarak mobil ve tablet için */ }

/* Sadece md ve üzeri ekranlarda (≥768px) padding: 5px olsun */
@media (min-width: 768px) {
    .icon-btn { padding: 5px; }
}

.edit-btn,
.delete-btn,
.new-btn,
.add-btn,
.close-btn { font-size: 0.8rem; margin: 2px; position: relative; padding-left: 1.8em; /* ikon için boşluk */ }
    .edit-btn::before,
    .delete-btn::before,
    .new-btn::before,
    .add-btn::before,
    .close-btn::before { font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 6px; }

    /* Yeni kayıt butonu (plus) */
    .new-btn::before { content: "\f0fe"; /* fa-plus-square */ }

    /* Düzenle butonu (edit) */
    .edit-btn::before { content: "\f044"; /* fa-pen-to-square */ }

    /* Sil butonu (trash) */
    .delete-btn::before { content: "\f1f8"; /* fa-trash */ }

    /* Kaydet butonu (floppy disk) */
    .add-btn::before { content: "\f0c7"; /* fa-floppy-disk */ }

    /* Kapat butonu (xmark) */
    .close-btn::before { content: "\f00d"; /* fa-xmark */ }

    #personelEditForm label{font-size:13px; font-weight:bold;}


.sag { text-align: right !important; }
.sol { text-align: left !important; }
.orta { text-align: center !important; }



.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

#tblPersonelGosterge {
    font-size: 1rem; /* İstersen 14px/16px yapabilirsin */
}

/* --- Mobil Ekranlar (xs ve sm) --- */
@media (max-width: 576px) {
    #tblPersonelGosterge {
        font-size: 0.75rem !important; /* Mobilde küçültülmüş font (12px gibi) */
    }

    /* Hücre içindeki yazıları da küçültmek için */
    #tblPersonelGosterge td,
    #tblPersonelGosterge th {
        font-size: 0.75rem !important;
        padding: 4px !important; /* Mobilde daha sıkı görünür */
    }
}

/* Tablet küçük (sm) için biraz daha büyük istersen: */
@media (min-width: 576px) and (max-width: 768px) {
    #tblPersonelGosterge {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    #personelList table {
        font-size: 12px;   /* tablo içindeki tüm yazılar küçülür */
    }

    #personelList input {
        font-size: 12px !important;  /* input yazıları da küçülür */
        padding: 2px 4px;            /* daha kompakt olsun */
        height: 28px;
    }

    #personelList th, #personelList td {
        padding: 4px;                /* hücreler küçülür */
    }
}

/* Dashboard */
.section.dashboard, .section.container{margin-top:75px!important; }
@media (max-width: 576px) {
    .section.dashboard{margin-top:75px!important;}
}



/* Home/Index  kodları*/

 #tblHakedis th { background-color: black !important; color: white !important; }
    /* Mobil cihazlar (Telefonlar için ultra sıkıştırma) */
    @media (max-width: 768px) {
        #tblHakedis { font-size: 10px; }
        #tblHakedis th, #tblHakedis td { padding: 3px 1px !important; }
        .info-card .card-title { font-size: 10px !important; margin-bottom: 5px !important; white-space: nowrap; /* Yazının taşmasını önle */ overflow: hidden; text-overflow: ellipsis; }
        /* Kart Sayılarını (H2) Küçült */ .info-card h2 { font-size: 16px !important; margin-bottom: 0 !important; }
        /* Kartın iç paddingini iyice daralt */ .info-card .card-body { padding: 8px 4px !important; }
        /* Row boşluklarını (gutter) daralt */ .row.g-4 { --bs-gutter-x: 0.5rem !important; /* Kartlar arası yatay boşluk */ }
        /* Kartların dış container boşluğunu azalt */ .container.mt-4 { padding-left: 10px !important; padding-right: 10px !important; }
        /* Filtre satırını zorla yan yana tut ve kenar boşluklarını sıfırla */ .dataTables_wrapper .row:first-child { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center !important; margin: 0 !important; /* Satırın dış boşluğunu sıfırla */ width: 100% !important; }
        /* Sütunların iç boşluklarını (gutter) minimuma indir */ .dataTables_wrapper .col-auto,
        .dataTables_wrapper .col-4 { padding-left: 1px !important; padding-right: 1px !important; flex: 0 0 auto !important; /* Esnemeyi kapat, içeriğe odaklan */ width: auto !important; }
        /* Page Length (Sol) - Sadece Select görünsün */ div.dataTables_length label { font-size: 0 !important; margin: 0 !important; }
        div.dataTables_length select { width: 42px !important; font-size: 10px !important; padding: 1px 2px !important; height: 26px !important; }
        /* Yıl Filtresi (Orta) */ #yearFilter select { width: 62px !important; font-size: 10px !important; padding: 1px 2px !important; height: 26px !important; }
        /* Search (Sağ) - Genişliği iyice kıstık */ div.dataTables_filter label { font-size: 0 !important; margin: 0 !important; }
        div.dataTables_filter input { width: 65px !important; /* 80'den 65'e düşürüldü */ font-size: 10px !important; padding: 1px 4px !important; height: 26px !important; margin-left: 0 !important; border-radius: 4px; }
    }

    /* /Home/carikartlistesi kodları*/

    
    table { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif;  }
    .stok-tipi { color: green; }
    .stok-adi { color: red; }

    @media (min-width: 576px) {
        #cariTable { font-size: 13px; }
    }

    @media (min-width: 768px) {
        #cariTable { font-size: 14px; }
    }

    @media (min-width: 992px) {
        #cariTable { font-size: 15px; }
    }

    @media (min-width: 1200px) {
        #cariTable { font-size: 16px; }
    }
    /*Desktop Ekranında*/
    @media (min-width: 769px) {
        #customTabContent{padding:1.5rem!important;}
        .isaret { width: 22px !important; cursor: pointer; padding: 1px; }
       /* table{font-size:14px;}*/
        #cariTable { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; }
        #cariTable thead th { background-color: #007bff; color: white; font-weight: bold; text-align: left; padding: 8px; border-bottom: 2px solid #0056b3; }
        #cariTable thead tr.filters th { padding: 2px 4px !important; height: 30px; background-color: #cce5ff; color: #004085; }
        #cariTable thead tr.filters th input { width: 100%; height: 28px; box-sizing: border-box; padding: 2px 4px; font-size: 0.85rem; }
        #cariTable tbody tr { background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; transition: background-color 0.2s; }
        #cariTable tbody tr:nth-child(odd) { background-color: #ffffff; }
        #cariTable tbody tr:nth-child(even) { background-color: #fbfbfb; }
        #cariTable tbody tr:hover { background-color: #007bff; color: #ffffff; font-weight: bold; }
        #cariTable tbody td.text-end { text-align: right; }

        #ekstreCariUnvani { font-size: 1rem; }
        #ekstreTable { font-size: 0.8rem; vertical-align: middle !important; }
        #ekstreTable thead th { background-color: #4050ff; color: white; font-weight: bold; text-align: left; padding: 4px; border-bottom: 2px solid #0056b3; }
        #ekstreTable tbody tr:nth-child(odd) td { background-color: #ffffff !important; }
        #ekstreTable tbody tr:nth-child(even) td { background-color: #f2f2f2 !important; }
        #ekstreTable tbody td:nth-child(2) { color: #000000 !important; font-weight: 600; }
        /* 1. Tarih Kolonu (2. TD) - Koyu Yazı */ #ekstreTable tbody td:nth-child(3) { color: #bb2a90 !important; font-size: 0.75rem !important; }
        /* 2. Fiş Türü Kolonu (3. TD) - Pembe ve Küçük */ #ekstreTable tbody td:nth-child(5) { color: #007bff !important; font-weight: 600; }
        /* 3. Borç Kolonu (5. TD) - Mavi */ #ekstreTable tbody td:nth-child(6) { color: #856404 !important; font-weight: 600; }
        /* 4. Alacak Kolonu (6. TD) - Koyu Sarı */ #ekstreTable tbody td:nth-child(7) { color: #000000 !important; font-weight: 900; }
        /* 5. Bakiye Kolonu (7. TD) - Koyu Siyah */ .detay-row table { border: 1px solid #989898; padding: 2px; }
        .detay-row table thead th { background-color: #9d00ff !important; color: white !important; font-weight: bold; padding: 4px 6px; text-align: left; font-size: 10px !important; }
        .detay-row tbody tr:nth-child(odd) td { background-color: #ffffff !important; }
        .detay-row tbody tr:nth-child(even) td { background-color: #ffffff !important; }
        .detay-row table tbody td { padding: 0 6px; }
        .ftTd { border: 1px solid #f2f2f2 !important; border-top: 1px solid #989898 !important; border-right: 1px solid #989898 !important; }
        .ftTdLabel{text-align:right!important;}
        }

    /*Mobil Ekranında */
    @media (max-width: 768px) {
        #customTabContent{padding:0rem!important;}
        #hakedis { padding: 1rem !important; }
        .isaret { width: 18px !important; cursor: pointer; padding: 1px; }
        table{font-size:11px;}
        div.dt-container
        div.dt-length select,
        div.dt-search input,
        div.dt-length label,
        div.dt-search label,
        div.dt-info { font-size: 10px !important; }
        #filtersCollapse { padding: 5px !important; }
        #filtersCollapse .accordion-body, .accordion-body label { font-size: 12px !important; padding-left: 2px !important; font-weight: bold !important; }
        /* 1. "Kayıt Göster" (dt-length) kısmını tamamen gizle */
        .dt-length label {display: none !important;}


        #cariTable { display: block !important; width: 100% !important; }
        #cariTable tr { display: block !important; width: 100% !important; }
        #cariTable td { display: block !important; width: 100% !important; padding: 0 !important; border: none !important; }
        #cariTable tbody { display: block !important; width: 100% !important; }

        #ekstreCariUnvani { font-size: 12px; }
        #ekstreTable { vertical-align: middle !important; }
        #ekstreTable thead th { border: none !important; font-size: 0.65rem !important; padding: 2px 4px !important; text-transform: uppercase; }
        #ekstreTable thead th:nth-child(1) { grid-column: 1; text-align: center; }
        /* Başlıkların Sütun Konumları */ #ekstreTable thead th:nth-child(2) { grid-column: 2; }
        /* İkon Boşluğu */ #ekstreTable thead th:nth-child(5) { grid-column: 3; text-align: right; }
        /* Tarih */ #ekstreTable thead th:nth-child(6) { grid-column: 4; text-align: right; }
        /* Borç */ #ekstreTable thead th:nth-child(7) { grid-column: 5; text-align: right; }
        /* Alacak */ #ekstreTable thead th:nth-child(3), #ekstreTable thead th:nth-child(4) { display: none; }
        #ekstreTable tbody td:nth-child(3){ display: inline-masonry; }
        #ekstreTable tbody td:nth-child(4) { display: none; }
        #ekstreTable tbody td:nth-child(5) { grid-column: 3; grid-row: 1; text-align: right; color: #007bff !important; }
        #ekstreTable tbody td:nth-child(6) { grid-column: 4; grid-row: 1; text-align: right; color: #856404 !important; }
        #ekstreTable tbody td:nth-child(7) { grid-column: 5; grid-row: 1; text-align: right; color: #000000 !important; }
        .mobil-fisturu { color: #bb2a90 !important; }
        .stok-adi-wrap { font-size: 8px; word-wrap: anywhere !important; }

        .detay-row table { border: 1px solid #989898; padding: 2px; }
        .detayTable { table-layout: auto; width: 100%; font-size: 8px !important; /*border: 1px solid #9d9d9d;*/ }

        /* ÖNEMLİ: KDV ve diğer kolonları gizleyen bu satırı SİLDİK veya düzelttik */
    .detayTable tbody td:nth-child(3), 
    .detayTable thead th:nth-child(3) { display: table-cell !important; }

    /* Tablo yapısının bozulmaması için hücreleri zorla table-cell yapıyoruz */
    .detay-row .detayTable thead th, 
    .detay-row .detayTable tbody td { 
        display: table-cell !important; 
        padding: 4px 2px !important;
        vertical-align: middle;
    }

    /* Tablonun kapsayıcı genişliği */
    .detayTable { 
        display: table !important; 
        width: 100% !important; 
        table-layout: auto; 
        font-size: 9px !important; 
    }

    /* tfoot kısmındaki etiketlerin (Ara Toplam vs.) sağa yaslanması için */
    .ftTdLabel {
        text-align: right !important;
        background-color: #f8f9fa;
        border-right: 1px solid #dee2e6 !important;
    }

        .detayTable thead th { background-color: #007bff !important; color: white !important; font-weight: bold; padding: 4px 6px; text-align: left; font-size: 10px !important; }
        .detayTable thead th:nth-child(1) { text-align: left !important; }
        .detayTable thead th:nth-child(2), .detayTable thead th:nth-child(3),
        .detayTable thead th:nth-child(4), .detayTable thead th:nth-child(5),
        .detayTable thead th:nth-child(6), .detayTable thead th:nth-child(7) { text-align: right; }

        .detayTable tbody td { text-align: right; padding: 4px; }
        /* DetayTable'daki her kolonun uygun hizaya getirilmesi */ .detayTable tbody td:nth-child(1) { text-align: left; }
        .detayTable tbody td:nth-child(2) { text-align: right; }
        .detayTable tbody td:nth-child(3) { text-align: right; }
        .detayTable tbody td:nth-child(4) { text-align: right; }
        .detayTable tbody td:nth-child(5) { text-align: right; }
        .detayTable tbody td:nth-child(6) { text-align: right; }
        .detayTable tbody td:nth-child(7) { text-align: right; }
        .detayTable tbody tr:nth-child(odd) { background-color: #f9f9f9; }
        .detayTable tbody tr:nth-child(even) { background-color: #fff; }
        .detayTable tbody tr:hover { background-color: #007bff; color: #fff; }
        .detay-row .detayTable thead th:nth-child(4), .detay-row .detayTable tbody td:nth-child(4) { display: table-cell !important; }
        .detay-row .detayTable thead th, .detay-row .detayTable tbody td { display: table-cell; }
        .detayTable tbody td:nth-child(3) { display: none; }
        .total-row td { text-align: right; /* Sayıları sağa hizala */ }
        /*.detay-row .detayTable tfoot { border: 1px solid #dee2e6 !important; background-color: #dee2e6 !important; }*/ .fisToplam { display: block !important; }
        .ftTd { border: 1px solid #f2f2f2 !important; border-top: 1px solid #989898 !important; border-right: 1px solid #989898 !important; }
    }


    /* Tıklama alanını genişletmek ve butonları belirginleştirmek için */
.detay-btn {
    padding: 2px 8px !important;
    font-size: 12px !important;
    min-width: 32px;
    transition: all 0.2s ease;
}

/* Detay satırı açıldığında ana satırı vurgula */
tr.shown {
    background-color: #f8f9fa !important;
    border-left: 4px solid #0dcaf0;
}

/* Mobilde detay tablosunun taşmasını engelle */
.detay-row table {
    width: 100% !important;
    display: table;
}