:root {
    --background-color: #f4f6fc;
    --card-background-color: #edeeff;
    --card-box-shadow-color: rgba(229, 230, 255, 0.1);
    --card-input-border-color: rgba(137, 143, 255, 0.2);
    --text-color: #1a1c33;
    --secondary-color: #9ca2d9;
    --pleaceholder-color :#9ca2d9;
    --link-color: #5f6bfd;
    --link-hover-color: #4e5ae0;
    --link-rgb: 95, 107, 253;
    --box-shadow-color: rgba(125, 135, 253, 0.1);
    --input-background-color: #eaedff;
    --input-disable-background-color: #e9ecef;
    --input-disable-color: #000;
    --input-border-color: rgba(95, 107, 253, 0.2);
    --input-focus-border-color: rgba(95, 107, 253, 0.4);
    --input-focus-shadow-color: rgba(95, 107, 253, 0.15);
    --notification-hover-color: #eef0ff;
    --profile-background-color: #ffffff;
    --profile-border-color: rgba(95, 107, 253, 0.1);
    --profile-item-hover-color: #f0f2ff;
    --button-text-color: #ffffff;
    --welcome-container: linear-gradient(135deg, #dee2ff 0%, #c5caff 100%);
    --welcome-input-background-color: #eaedff;
    --popup-background-color: #f2f4ff;
    --list-color : #edeeff;
    --list-text-color: black;
    --modal-background-color: #eaedff;
    --accent-blue: #475aff;         /* Vurgu rengi */
    --soft-blue: #e4e8ff;           /* Accordion zemin */
    --light-border: #cfd3ff;        /* İnce border */
    --badge-background: #dbe1ff;
    --badge-text-color: #1a1c33;
    --accordion-shadow: rgba(137, 143, 255, 0.2);
    --placeholder-color: #9ca2d9;
    --input-filter-background-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.60);
    --card-border: rgba(60,120,250,0.10);
    --card-radius: 1.4rem;
    --card-shadow: 0 6px 32px rgba(45,108,223,.09), 0 1.5px 7px rgba(0,0,0,.07);
    --card-bg-hover: linear-gradient(120deg,rgba(252,253,255,.93) 60%, #f2f7ff 100%);
    --card-border-hover: #538cff88;
    --card-shadow-hover: 0 8px 38px 0 rgba(80,120,180,0.17), 0 3px 12px rgba(90, 110, 220, 0.11);
    --glow-bg: radial-gradient(ellipse at top right, #a7c5fd55 0%, transparent 70%);
    --icon-bg: linear-gradient(135deg, #d0d7ea 60%, #96b6ef 100%);
    --icon-bg-hover: linear-gradient(135deg, #96b6ef 60%,  #d0d7ea 100%);
    --icon-brand-bg: linear-gradient(135deg, #d0d7ea 60%, #a7bde7 100%);
    --icon-border-gradient: linear-gradient(135deg, #b2d1ff 10%, #e1aaff 90%);
    --icon-badge-bg: linear-gradient(135deg, #d0d7ea 60%, #96b6ef 100%);
    --icon-badge-gradient: linear-gradient(135deg, #b2d1ff 10%, #e1aaff 90%);
    --icon-border: transparent;
    --icon-shadow: 0 2px 12px 0 rgba(60,130,255,0.08);
    --icon-radius: 18px;
    --icon-success-bg: #d1f8e5;
    --icon-success-border: #88e0c3;
    --check-color: #23be6a;
    --iban-gradient: linear-gradient(90deg, #2453c1, #2fb4fa 90%);
    --iban-shadow: 0 0 5px #b3d4fd11;
    --iban-shadow-hover: 0 0 12px #b3d4fd41, 0 2px 8px #b3d4fd22;
    --copy-btn-bg: #d0d7ea;
    --copy-btn-bg-active: linear-gradient(92deg, #23be6a 30%, #6ee7b7 100%);
    --copy-btn-color: #2d6cdf;
    --copy-btn-border: #23be6a;
    --copy-btn-copied-shadow: 0 0 0 0.14rem #67ffb633;
    --badge-bg: #f5f6fb;
    --badge-color: #2d6cdf;
    --bank-logo-radius: 6px;
    --iban-border-gradient: linear-gradient(120deg, #66e0ff 0%, #3d8bff 40%, #d3bfff 85%, #77ffd9 100%);
    --iban-border-shine-gradient: linear-gradient(110deg, #a7eaff 0%, #8ea6ff 33%, #d8b6ff 66%, #a2ffe2 100%);
    --iban-border-bg: linear-gradient(135deg, #fff 90%, #edf6fd 100%);
    --iban-border-opacity: 0.16;
    --table-success-row : #FFD700;
}

/* DARK MODE OVERRIDES */
html.dark-mode {
    --background-color: #2f2f2f;
    --card-background-color: #262626;
    --card-box-shadow-color: rgba(0, 0, 0, 0.2);
    --card-input-border-color: rgba(255, 222, 57, 0.3);
    --text-color: white;
    --secondary-color: #BBB;
    --pleaceholder-color :#9ca2d9;
    --link-color: #FFD700;
    --link-hover-color: #FFC107;
    --link-rgb: 255, 215, 0;
    --box-shadow-color: rgba(0, 0, 0, 0.2);
    --input-background-color: rgba(255, 255, 255, 0.1);
    --input-disable-background-color: #2f2f2f;
    --input-disable-color: white;
    --input-border-color: rgba(255, 215, 0, 0.2);
    --input-focus-border-color: rgba(255, 215, 0, 0.3);
    --input-focus-shadow-color: rgba(255, 215, 0, 0.15);
    --notification-hover-color: rgba(255, 215, 0, 0.1);
    --profile-background-color: #2f2f2f;
    --profile-border-color: rgba(255, 215, 0, 0.2);
    --profile-item-hover-color: rgba(255, 215, 0, 0.1);
    --button-text-color: #000;
    --welcome-container: rgba(0, 0, 0, 0.7);
    --welcome-input-background-color: #BBB;
    --popup-background-color: rgba(0, 0, 0, 0.8);
    --list-color: #444444;
    --list-text-color: #fff;
    --modal-background-color: #444444;
    --accent-blue: #ffd700;         /* Altın sarısı vurgu */
    --soft-blue: #2f2f2f;           /* Dark zemin */
    --light-border: rgba(255, 222, 57, 0.2);
    --badge-background: #444444;
    --badge-text-color: #fff;
    --accordion-shadow: rgba(255, 215, 0, 0.2);
    --placeholder-color: #BBB;
    --input-filter-background-color: rgba(255, 255, 255, 0.3);
    --card-bg: rgba(34, 40, 68, 0.83);
    --card-border: rgba(140, 160, 255, 0.10);
    --card-shadow: 0 6px 32px rgba(18, 30, 80, .20), 0 1.5px 7px rgba(0,0,0,.18);
    --card-bg-hover: linear-gradient(120deg, rgba(37,45,78,0.96) 65%, #212843 100%);
    --card-border-hover: #7fa2ff88;
    --card-shadow-hover: 0 8px 38px 0 rgba(90,130,255,0.16), 0 3px 12px rgba(80, 110, 255, 0.13);
    --glow-bg: radial-gradient(ellipse at top right, #455ffb33 0%, transparent 70%);
    --icon-bg: linear-gradient(135deg, #2f3659 60%, #7883af 100%);
    --icon-bg-hover: linear-gradient(135deg, #7883af 60%,  #2f3659 100%);
    --icon-brand-bg: linear-gradient(135deg, #666e8f 60%, #969fc4 100%);
    --icon-border-gradient: linear-gradient(135deg, #285bc9 5%, #9c71e7 95%);
    --icon-badge-bg: linear-gradient(135deg, #474c69 60%, #676e8a 100%);
    --icon-badge-gradient: linear-gradient(135deg, #9db6f1 5%, #c4abec 95%);
    --icon-border: transparent;
    --icon-shadow: 0 2px 12px 0 rgba(20,30,80,0.15);
    --icon-radius: 18px;
    --icon-success-bg: #1d4233;
    --icon-success-border: #1ea878;
    --check-color: #12e095;
    --iban-gradient: linear-gradient(92deg, #7faaff 10%, #97f7fa 95%);
    --iban-shadow: 0 0 7px #4e5fd766, 0 0 1px #0ff1;
    --iban-shadow-hover: 0 0 14px #1f8ef341, 0 2px 10px #7ed6f222;
    --copy-btn-bg: #2f3659;
    --copy-btn-bg-active: linear-gradient(92deg, #12e095 50%, #38f0f9 100%);
    --copy-btn-color: #38f0f9;
    --copy-btn-border: #00c386;
    --copy-btn-copied-shadow: 0 0 0 0.14rem #38f0f933;
    --badge-bg: #2f3149;
    --badge-color: #b4caf9;
    --bank-logo-radius: 7px;
    --iban-border-gradient: linear-gradient(123deg, #25213a 0%, #3859a6 35%, #f7d774 80%, #d1bfa3 100%);
    --iban-border-shine-gradient: linear-gradient(110deg, #27213e 0%, #4562c3 45%, #efd86f 82%, #ceb991 100%);
    --iban-border-bg: linear-gradient(135deg, #191c26 88%, #2c2743 100%);
    --iban-border-opacity: 0.18;
    --table-success-row : #5f6bfd;
}

/* Body */
body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
    color: var(--text-color);
}
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    padding: 10px;
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-color);
}

/* Telefon Boyutları İçin */
@media (max-width: 576px) {
    .btn-sm-block {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* Small ve Üzeri Ekranlar İçin (Bilgisayar Boyutları) */
@media (min-width: 576px) {
    .btn-sm-block {
        padding: 5px 10px;
        font-size: 12px;
    }
}

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

.back-to-top i {
    font-size: 24px;
    color: var(--background-color);
    line-height: 0;
}

.back-to-top:hover {
    background: var(--link-hover-color);
    color: var(--background-color);
}

.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: 1px solid var(--input-border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    box-shadow: 0 5px 30px 0 var(--box-shadow-color);
}

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

.dropdown-menu .dropdown-footer a {
    color: var(--link-color);
    text-decoration: underline;
}

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

.dropdown-menu .dropdown-divider {
    color: var(--input-border-color);
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
    color: var(--text-color);
}

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

.dropdown-menu .dropdown-item:hover {
    background-color: var(--profile-item-hover-color);
}

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

@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 var(--card-box-shadow-color);
    background-color: var(--card-background-color);
    color: var(--text-color);
}

.card-header,
.card-footer {
    border-color: var(--card-input-border-color);
    background-color: var(--card-background-color);
    color: var(--text-color);
    padding: 15px;
}

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

.card-title span {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 400;
    max-width: 130px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.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;
    color: var(--text-color);
}

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

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

/* Accordion */
.accordion-item {
    border: 1px solid var(--input-border-color);
    background-color: var(--background-color);
}

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

.accordion-button:not(.collapsed) {
    color: var(--link-color);
    background-color: var(--profile-item-hover-color);
}

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

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: var(--link-color);
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: var(--secondary-color);
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb a {
    color: var(--secondary-color);
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--link-hover-color);
}

.breadcrumb .breadcrumb-item::before {
    color: var(--secondary-color);
}

.breadcrumb .active {
    color: var(--link-hover-color);
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid var(--input-border-color);
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    min-height: 42px;
}

/* Hover ve aktif durumlar */
.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: var(--link-hover-color);
}

.nav-tabs-bordered .nav-link.active {
    background-color: var(--background-color);
    color: var(--link-color);
    border-bottom: 2px solid var(--link-color);
}

/* Responsive */
@media (max-width: 767.98px) {
    .nav-tabs-bordered {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-tabs-bordered .nav-item {
        width: 100%;
    }

    .nav-tabs-bordered .nav-link {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
        line-height: 1.3;
        padding: 0.6rem 1rem;
    }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

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

.logo img {
    max-height: 40px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--link-color); /* Logo rengi değişkenle ayarlandı */
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px var(--box-shadow-color);
    background-color: var(--background-color);
    padding-left: 20px;
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    color: var(--link-color);
}

@media (max-width: 576px) {
    .header {
        padding-left: 5px;
    }
    .header .toggle-sidebar-btn {
        padding-left: 2px;
        padding-right: 2px;
    }
}


.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 var(--box-shadow-color);
        background: var(--background-color);
        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 {
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--input-background-color);
    border: 1px solid var(--input-border-color);
    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;
    border: 1px solid var(--input-focus-border-color);
    box-shadow: 0 0 10px 0 var(--input-focus-shadow-color);
}

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

.header .search-form button i {
    color: var(--link-color);
}

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

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

.header-nav .nav-icon {
    font-size: 22px;
    color: var(--link-color);
    margin-right: 15px;
    position: relative;
}

.header-nav .nav-profile {
    color: var(--link-color);
}

.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;
    color: var(--text-color);
}

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

.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: var(--secondary-color);
}

.header-nav .notifications .notification-item:hover {
    background-color: var(--notification-hover-color);
}

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

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
    color: var(--text-color);
}

.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: var(--text-color);
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: var(--secondary-color);
}

.header-nav .messages .message-item:hover {
    background-color: var(--notification-hover-color);
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
    background-color: var(--profile-background-color);
    border: 1px solid var(--profile-border-color);
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--link-color);
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
    color: var(--link-color);
}

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

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

.header-nav .profile .dropdown-item:hover {
    background-color: var(--profile-item-hover-color);
}

.header-nav .profile a:hover,
.header-nav .profile a.active {
    color: var(--link-hover-color);
}

.header-nav .profile div:is(:hover, .active) .status-text,
.header-nav .profile div:is(:hover, .active) i {
    color: var(--link-hover-color);
}
/*--------------------------------------------------------------
# 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: var(--secondary-color) transparent; /* Scrollbar rengi ayarlandı */
    background-color: var(--background-color);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--box-shadow-color);
}

.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: var(--link-hover-color);
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-nav-item i {
    font-size: 22px !important;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--link-hover-color);
}

#main {
    padding-bottom: 60px;
}


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

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: var(--background-color);
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color); /* Scrollbar thumb rengi ayarlandı */
}

@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: var(--secondary-color);
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--link-color);
    transition: 0.3s;
    background: rgba(var(--link-rgb), 0.1); /* rgba kullanarak RGB değerini al */
    padding: 10px 15px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: var(--link-color);
}

.sidebar-nav .nav-link.collapsed {
    color: var(--text-color);
    background: var(--background-color);
}

.sidebar-nav .nav-link.collapsed i {
    color: var(--link-color);
}

.sidebar-nav .nav-link:hover {
    color: var(--link-hover-color);
    background: var(--profile-item-hover-color); /* Hover arka planı ayarlandı */
}

.sidebar-nav .nav-link.active {
    color: var(--link-hover-color);
}

.sidebar-nav .nav-link:hover i {
    color: var(--link-hover-color);
}

.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;
    background: var(--background-color); /* Collapse arka plan rengi ayarlandı */
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    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: var(--link-hover-color);
}

.sidebar-nav .nav-content a.active i {
    background-color: var(--link-hover-color);
}
/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: var(--secondary-color);
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: var(--link-hover-color);
}

.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: var(--secondary-color);
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
    color: var(--text-color);
}

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

.dashboard .info-card h6 {
    font-size: 28px;
    color: var(--text-color);
    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: var(--link-color);
    background: rgba(var(--link-rgb), 0.1); /* rgba kullanarak RGB değerini al */
}

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

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

/* Activity */
.dashboard .activity {
    font-size: 14px;
    color: var(--text-color);
}

.dashboard .activity .activity-item .activite-label {
    color: var(--secondary-color);
    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 var(--background-color);
    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 {
    color: var(--text-color);
}

.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: var(--text-color);
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: var(--link-hover-color);
}

.dashboard .news p {
    font-size: 14px;
    color: var(--secondary-color);
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
    color: var(--text-color);
}

.dashboard .recent-sales .table thead {
    background: rgba(var(--link-rgb), 0.1);
}

.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;
    color: var(--text-color);
}

.dashboard .top-selling .table thead {
    background: rgba(var(--link-rgb), 0.1);
}

.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;
}
/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
    background-color: var(--modal-background-color);
    color: var(--text-color);
}

.modal-content input {
    border: 1px solid var(--input-border-color);
}

.modal-content textarea {
    border: 1px solid var(--input-border-color);
}


.modal-content input:focus {
    border-color: var(--input-focus-border-color);
    box-shadow: 0 0 8px var(--input-focus-shadow-color);
    outline: none;
}

.modal-content button {
    background-color: var(--link-color);
    color: var(--button-text-color);
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[disabled] {
    color: var(--input-disable-color) !important; /* yazı rengi — koyu siyah */
    background-color: var(--input-disable-background-color) !important;
    opacity: 1 !important;
}

.modal-content button:hover {
    background-color: var(--link-hover-color);
}

.modal-content input::placeholder {
    color: var(--pleaceholder-color);
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/*--------------------------------------------------------------
# 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: var(--background-color);
    border-radius: 0.25rem;
    text-align: center;
    color: var(--text-color);
    padding: 15px 0;
}

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

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

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

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
    color: var(--text-color);
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: var(--secondary-color);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: var(--link-hover-color);
}

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

.profile .profile-overview .card-title {
    color: var(--text-color);
}

.profile .profile-overview .label {
    font-weight: 600;
    color: var(--secondary-color);
}

.profile .profile-edit label {
    font-weight: 600;
    color: var(--secondary-color);
}

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

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: var(--link-color);
}

.faq .basic p {
    color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
    background-color: var(--background-color);
    color: var(--text-color);
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: var(--link-color);
}

.contact .info-box h3 {
    font-size: 20px;
    color: var(--text-color);
    font-weight: 700;
    margin: 20px 0 10px 0;
}

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

.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: var(--background-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.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;
    background-color: var(--input-background-color);
    color: var(--text-color);
    border: 1px solid var(--input-border-color);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--link-color);
}

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

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

.contact .php-email-form button[type=submit] {
    background: var(--link-color);
    border: 0;
    padding: 10px 30px;
    color: var(--background-color);
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: var(--link-hover-color);
}

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

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

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
    color: var(--text-color);
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: var(--link-color);
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.error-404 .btn {
    background: var(--link-color);
    color: var(--button-text-color);
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: var(--link-hover-color);
}

@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 var(--secondary-color);
    background-color: var(--background-color);
    color: var(--text-color);
}

.footer .copyright {
    text-align: center;
    color: var(--text-color);
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: var(--secondary-color);
}

.fixed-top-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}


.responsive-text {
    font-size: 12px; /* Varsayılan olarak telefon boyutunda 12px */
}

.finance-text {
    font-size: 10px; /* Varsayılan olarak telefon boyutunda 12px */
}

@media (min-width: 768px) {
    /* Tablet ve masaüstü boyutları için */
    .responsive-text {
        font-size: 16px; /* Bilgisayar boyutunda 16px (veya istediğiniz boyut) */
    }
}

.scrollable-col {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
}

.scrollable-col::-webkit-scrollbar {
    display: none;
}

.scrollable-col {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .scrollable-col::-webkit-scrollbar {
        display: block; /* veya auto */
    }

    .scrollable-col {
        -ms-overflow-style: auto;
        scrollbar-width: auto;
    }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

.welcome-page {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.welcome-container {
    background: var(--welcome-container);
    border-radius: 15px;
    box-shadow: 0px 4px 25px var(--box-shadow-color);
    padding: 3rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 2s forwards, moveContainer 5s ease-in-out infinite;
}
@media (max-width: 500px) {
    .welcome-container {
        padding: 2rem 1.5rem;
    }
}
.welcome-card h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.welcome-card p {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.welcome-card input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid var(--input-border-color);
    border-radius: 8px;
    background-color: var(--welcome-input-background-color);
    transition: all 0.3s ease;
}

.welcome-card input:focus {
    border-color: var(--input-focus-border-color);
    box-shadow: 0 0 8px var(--input-focus-shadow-color);
    outline: none;
}

.welcome-card button {
    width: 100%;
    background-color: var(--link-color);
    color: var(--button-text-color);
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.welcome-card button:hover {
    background-color: var(--link-hover-color);
}

.welcome-card input::placeholder {
    color: var(--secondary-color);
    opacity: 0.7;
}

.kurye-img {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 2s 0.5s forwards, moveLogo 2s ease-in-out infinite;
}

.btn-custom {
    background-color: var(--link-color);
    color: var(--button-text-color);
    font-weight: bold;
    opacity: 0;
    animation: slideIn 1s 1.5s forwards;
}

.btn-custom:hover {
    background-color: var(--link-hover-color);
}

.btn-custom-supplier {
    background-color: var(--link-color);
    color: var(--button-text-color);
    font-weight: bold;
}

.btn-custom-supplier:hover {
    background-color: var(--link-hover-color);
}

.info-box {
    background-color: var(--notification-hover-color);
    border-radius: 15px;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 2s 2.5s forwards;
}

.info-box h3 {
    color: var(--link-color);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-text {
    font-style: italic;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--link-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    opacity: 0;
    animation: fadeIn 2s 3s forwards;
}

.social-links a:hover {
    color: var(--link-hover-color);
}

.popup {
    background-color: var(--popup-background-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    animation: slideInPopup 1s forwards;
}

.popup button {
    background-color: var(--link-color);
    color: var(--button-text-color);
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup button:hover {
    background-color: var(--link-hover-color);
}

.support-btn {
    background-color: var(--link-color);
    color: var(--button-text-color);
    border-radius: 50%;
    padding: 1rem;
    font-size: 2rem;
    box-shadow: 0px 4px 20px var(--box-shadow-color);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    animation: fadeIn 2s 3.5s forwards;
    cursor: pointer;
}
@media (max-width: 500px) {
    .support-btn {
        font-size: 1.5rem;
        padding: 0.7rem;
        bottom: 1rem;
        right: 1rem;
    }
}
.support-btn:hover {
    background-color: var(--link-hover-color);
}

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

@keyframes moveContainer {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes moveLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

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

@keyframes slideInPopup {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translate(-50%, -50%) translateY(0); opacity: 1; }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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


.login-show-password{
    position: absolute;
    right: 15px;top: 70%;
    transform: translateY(-50%);
    color: #999;cursor: pointer;
}

/*--------------------------------------------------------------
# Light Dark Switch
--------------------------------------------------------------*/

.theme-toggle-wrapper {
    position: relative;
    width: 70px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-checkbox {
    display: none;
}

.theme-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: var(--input-background-color);
    border-radius: 50px;
    cursor: pointer;
    padding: 0 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

.theme-label .sun-icon,
.theme-label .moon-icon {
    font-size: 14px;
    color: var(--link-color);
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1;
}

.theme-ball {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--button-text-color);
    border-radius: 50%;
    transition: transform 0.4s ease, background 0.3s ease;
    z-index: 0;
}

/* Dark mode aktif */
html.dark-mode .theme-label {
    background: var(--input-background-color);
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

html.dark-mode .theme-label .sun-icon {
    color: var(--link-color);
}

html.dark-mode .theme-label .moon-icon {
    color: var(--link-hover-color);
}

.theme-checkbox:checked + .theme-label .theme-ball {
    transform: translateX(30px);
}

.theme-checkbox:checked + .theme-label .sun-icon {
    opacity: 0;
    transform: translateX(-10px) scale(0.7);
}

.theme-checkbox:checked + .theme-label .moon-icon {
    opacity: 1;
    transform: translateX(0px) scale(1);
}

.theme-checkbox:not(:checked) + .theme-label .sun-icon {
    opacity: 1;
    transform: translateX(0px) scale(1);
}

.theme-checkbox:not(:checked) + .theme-label .moon-icon {
    opacity: 0;
    transform: translateX(10px) scale(0.7);
}

/* Mobil için daha küçük ve kompakt */
@media (max-width: 576px) {
    .theme-toggle-wrapper {
        width: auto;
        height: auto;
    }

    .theme-toggle-wrapper-welcome-login{
        width: 90px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .theme-label {
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .theme-ball {
        display: none; /* top yok */
    }

    .theme-label .sun-icon,
    .theme-label .moon-icon {
        font-size: 20px;
        position: absolute;
        top: -8px;
        left: -27px;
    }

    .theme-checkbox:checked + .theme-label .sun-icon {
        display: none;
    }

    .theme-checkbox:checked + .theme-label .moon-icon {
        display: block;
    }

    .theme-checkbox:not(:checked) + .theme-label .sun-icon {
        display: block;
    }

    .theme-checkbox:not(:checked) + .theme-label .moon-icon {
        display: none;
    }
}

/*--------------------------------------------------------------
# Login Back Button
--------------------------------------------------------------*/

.back-button {
    position: absolute;
    top: 40px;
    right: 40px;
    background-color: var(--input-background-color);
    color: var(--link-color);
    padding: 8px 12px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px var(--box-shadow-color);
}

.back-button:hover {
    background-color: var(--notification-hover-color);
    color: var(--link-hover-color);
}

/*--------------------------------------------------------------
# Liste Renkleri
--------------------------------------------------------------*/

.package-item{
    background-color: var(--list-color);
    color: var(--list-text-color);
    box-shadow:0 0.5rem 1rem var(--box-shadow-color);
}

.courier-package-item{
    background-color: white;
    color: white;
    box-shadow:0 0.5rem 1rem var(--box-shadow-color);
}

table.table-package-item {
    --bs-table-bg: var(--list-color);
    --bs-table-color: var(--list-text-color);
    background-color: var(--list-color) !important;
    color: var(--list-text-color) !important;
}

/* Genel kullanıcı tablosu stilleri */
.users-table table {
    width: 100%;
    table-layout: fixed; /* Tüm sütunlar eşit dağılsın */
    border-collapse: collapse;
}

.users-table thead th {
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 12px 8px;
    font-size: 14px;
    white-space: nowrap;
}

.users-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 6px;
    font-size: 14px;
    word-wrap: break-word;
}

/* Sütun hizaları */
.users-table td:nth-child(1),
.users-table td:nth-child(2),
.users-table td:nth-child(3),
.users-table td:nth-child(4),
.users-table td:nth-child(5),
.users-table td:nth-child(6),
.users-table td:nth-child(7),
.users-table td:nth-child(8),
.users-table td:nth-child(9) {
    text-align: left;
}

/* Düğmeler */
.users-table .btn {
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.3;
}

/* Responsive kırılım */
@media (max-width: 768px) {
    .users-table table {
        font-size: 13px;
    }

    .users-table thead th,
    .users-table tbody td {
        padding: 8px 4px;
    }
}
/*--------------------------------------------------------------
# Pool Packages
--------------------------------------------------------------*/

.select-color{
    -webkit-appearance: none;  /* Safari, Chrome */
    -moz-appearance: none;     /* Firefox */
    appearance: none;          /* Diğerleri */
    background-image: none;    /* Arka plandaki ok ikonunu da temizle */
    background-color: var(--link-color) !important;
    color: var(--button-text-color);

}


/*--------------------------------------------------------------
# Aktif Pasif
--------------------------------------------------------------*/

/* Switch Container */
.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Boyutu küçültüyoruz */
    height: 20px; /* Boyutu küçültüyoruz */
}

/* Checkbox input gizleme */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 50px;
}

/* Slider butonu küçültüyoruz */
.slider:before {
    position: absolute;
    content: "";
    height: 16px; /* Küçültüyoruz */
    width: 16px; /* Küçültüyoruz */
    border-radius: 50px;
    left: 2px; /* Yatay hizalamayı yapıyoruz */
    bottom: 2px; /* Dikey hizalamayı yapıyoruz */
    background-color: white;
    transition: 0.4s;
}

/* Checked state (işaretli durumda) */
input:checked + .slider {
    background-color: #28a745;
}

input:checked + .slider:before {
    transform: translateX(20px); /* Küçültülmüş boyut için offset */
}

/* Durum yazısı */
.status-text {
    margin-right: 5px;
    color: var(--text-color);
}


.pagination {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    justify-content: center;
    font-size: 14px;
}

/* Ortak stiller */
.pagination .page-item {
    margin: 0 5px;
}


/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/


.pagination .page-link {
    padding:  8px 16px;
    border-radius: 5px;
    border: 1px solid var(--card-input-border-color);
    background-color: var(--card-background-color);
    color: var(--link-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--list-color);
    color: var(--link-hover-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--link-color);
    border-color: var(--link-color);
    color: var(--button-text-color);
}

.pagination .page-item.disabled .page-link {
    background-color: #f9f9f9;
    border-color: var(--card-input-border-color);
    color: #aaa;
}

/* Responsive */
@media (max-width: 576px) {
    .pagination {
        font-size: 12px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        max-width: 100vw;
        padding-bottom: 4px;
        margin-bottom: 8px;
    }
    .pagination .page-item {
        margin: 0 2px;
        flex: 0 0 auto;
    }
    .pagination .page-item .page-link {
        font-size: 12px;
        padding: 6px 10px;
        min-width: 32px;
        text-align: center;
    }
}

/* Masaüstü için normal boyutlandırma */
@media (min-width: 577px) {
    .perPageSelect {
        font-size: 1.1rem;
        padding: 5px 28px 4px 5px;
        width: auto;
    }
}

.noResultsMessage {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    font-size: 0.9rem;
}

.noResultsPackages{}

.noResultsPackages i{
    color: var(--text-color);
}
.noResultsPackages p{
    color: var(--text-color);

}
/*--------------------------------------------------------------
# Kurye atama dropdown
--------------------------------------------------------------*/

.responsive-dropdown select {
    -webkit-appearance: none;  /* Safari, Chrome */
    -moz-appearance: none;     /* Firefox */
    appearance: none;          /* Diğerleri */
    background-image: none;    /* Arka plandaki ok ikonunu da temizle */
    background-color: var(--link-color) !important;
    color: var(--button-text-color);
}

.responsive-dropdown {
    width: 100%;
    padding: 10px;
}

.responsive-dropdown select {
    width: 100%;
    font-size: 14px;
    padding: 8px;
}

/* Küçük ekranlar */
@media (max-width: 480px) {
    .responsive-dropdown {
        padding: 5px;
    }

    .responsive-dropdown select {
        font-size: 8px;
        padding: 4px;
    }
}

/* Orta ekranlar */
@media (min-width: 481px) and (max-width: 768px) {
    .responsive-dropdown {
        padding: 8px;
    }

    .responsive-dropdown select {
        font-size: 12px;
        padding: 6px;
    }
}

/* Genel buton alanı için */
.btn.cancel-btn {
    padding: 2px 6px;
    line-height: 1;
}

/* İkonu içeren div için */
.btn.cancel-btn div {
    padding: 0;
}

/* Küçük ekranlarda daha da küçült */
@media (max-width: 480px) {
    .btn.cancel-btn {
        padding: 1px 4px;
    }
}

/*--------------------------------------------------------------
# Modal Responsive
--------------------------------------------------------------*/

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 80% !important;
        margin: 2rem auto;
    }
}

/*--------------------------------------------------------------
# Complaint (SweetAlert2 Modal) - Responsive & Theme Friendly
--------------------------------------------------------------*/

.custom-swal-popup {
    max-width: 98vw;
    width: 410px;
    background: var(--modal-background-color) !important;
    color: var(--text-color) !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px var(--box-shadow-color) !important;
    padding: 30px 24px 26px 24px;
    box-sizing: border-box;
}

.custom-swal-popup h2,
.custom-swal-popup .swal2-title {
    font-size: 1.32rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.swal-complaint-content p {
    margin-bottom: 7px;
    font-size: 1.01rem;
    line-height: 1.4;
    word-break: break-word;
}

.custom-swal-confirm,
.custom-swal-cancel {
    font-weight: bold;
    font-size: 1rem;
    border-radius: 10px;
    min-width: 120px;
    min-height: 40px;
    transition: background 0.3s, color 0.2s, transform 0.25s;
    margin: 0 4px;
    padding: 0 18px;
}
.custom-swal-confirm {
    background: linear-gradient(90deg, #5f6bfd 0%, #33e07e 100%);
    color: var(--button-text-color) !important;
    box-shadow: 0 2px 6px var(--box-shadow-color);
}
.custom-swal-confirm:hover {
    filter: brightness(1.12);
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 4px 14px var(--box-shadow-color);
}
.custom-swal-cancel {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border: none;
}
.custom-swal-cancel:hover {
    background: #ff3366 !important;
}

/* Loader animasyonu */
.loader {
    border: 4px solid var(--input-background-color);
    border-top: 4px solid var(--link-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 0.85s linear infinite;
    margin: 24px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Onay butonu animasyonu */
.with-bounce {
    animation: bounceIn 0.7s;
}
.swal-confirm-content i {
    margin-right: 6px;
    font-size: 1.25em;
    vertical-align: middle;
}
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0.5; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Textarea ayarları */
.swal2-textarea,
.swal-complaint-content textarea {
    font-size: 1rem;
    padding: 10px 14px;
    min-height: 90px;
    border-radius: 8px;
    border: 1px solid var(--input-border-color, #e0e0e0);
    background: var(--input-background-color, #fafbff);
    color: var(--text-color, #222);
    resize: vertical;
    margin-top: 10px;
    margin-bottom: 0;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
.swal2-textarea:focus,
.swal-complaint-content textarea:focus {
    border-color: var(--input-focus-border-color, #5f6bfd);
    box-shadow: 0 0 0 2px var(--input-focus-shadow-color, #e0eaff);
}

/* Responsive ayarlar */
@media (max-width: 575px) {
    .custom-swal-popup {
        width: 98vw;
        min-width: unset;
        max-width: 100vw;
        padding: 10px 4vw 14px 4vw;
    }
    .custom-swal-popup h2,
    .custom-swal-popup .swal2-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .swal-complaint-content p {
        font-size: 0.98rem;
    }
    .swal2-textarea,
    .swal-complaint-content textarea {
        font-size: 0.93rem;
        padding: 7px 10px;
        min-height: 70px;
    }
    .custom-swal-confirm,
    .custom-swal-cancel {
        font-size: 0.97rem;
        min-width: 90px;
        min-height: 36px;
        padding: 0 8px;
    }
}
@media (max-width: 400px) {
    .custom-swal-popup {
        padding: 7px 2vw 10px 2vw;
    }
    .custom-swal-confirm,
    .custom-swal-cancel {
        font-size: 0.92rem;
        min-width: 75px;
    }
    .swal2-textarea,
    .swal-complaint-content textarea {
        font-size: 0.9rem;
        padding: 6px 7px;
    }
}

/*--------------------------------------------------------------
# Push Notification
--------------------------------------------------------------*/

.notification-settings-card {
    background-color: var(--card-background-color);
    color: var(--text-color);
    border: none;
    box-shadow: 0 4px 10px var(--card-box-shadow-color);
    transition: all 0.3s ease-in-out;
}
.notification-settings-card h4 {
    color: var(--text-color);
}
.notification-settings-card .btn {
    transition: all 0.2s ease-in-out;
}
.notification-settings-card .btn:hover {
    background-color: var(--notification-hover-color);
    color: var(--text-color);
}


/*--------------------------------------------------------------
# Receipt Print Button
--------------------------------------------------------------*/

.print-icon-button {
    background-color: transparent;
    color: var(--link-color);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.print-icon-button i {
    font-size: 1.1rem;
}

.print-icon-button:hover {
    background-color: var(--link-hover-color); /* Hover teması */
    color: var(--button-text-color);           /* Light veya dark mode'a göre ayarlanır */
    border-color: var(--link-hover-color);
}

/* Responsive padding tweaks for smaller screens */
@media (max-width: 576px) {

    .print-icon-button i {
        font-size: 10px;
    }
}

/*--------------------------------------------------------------
# Admin Packages Operation Filter All Css
--------------------------------------------------------------*/

#filterAccordion {
    * {
        transition: background-color 0.25s ease, color 0.25s ease;
    }

    .accordion-button {
        background-color: var(--soft-blue);
        box-shadow: 0 2px 6px var(--accordion-shadow);
        border: 1px solid var(--light-border);
        font-weight: 600;
        color: var(--text-color);
        border-radius: 0.375rem;
    }

    .accordion-button:hover {
        background-color: var(--accent-blue);
        color: #fff;
    }

    .accordion-body {
        background-color: var(--card-background-color);
        border: 1px solid var(--light-border);
        padding: 1.5rem;
        border-radius: 0 0 0.375rem 0.375rem;
    }

    #columnToggleDropdown,
    #reset-columns {
        font-size: 0.875rem;
        background-color: var(--soft-blue);
        color: var(--text-color);
        border: 1px solid var(--light-border);
        transition: background-color 0.2s ease;
    }

    #columnToggleDropdown:hover,
    #reset-columns:hover {
        background-color: var(--accent-blue);
        color: #fff;
    }

    #columnToggleList li {
        padding: 0.25rem 0.75rem;
        color: var(--text-color);
    }

    #columnToggleList label {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #columnToggleList input[type="checkbox"] {
        margin-right: 6px;
    }

    .btn-group .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        background-color: var(--soft-blue);
        color: var(--text-color);
        border: 1px solid var(--light-border);
    }

    .btn-group .btn:hover {
        background-color: var(--accent-blue);
        color: #fff;
    }

    .form-label {
        font-weight: 500;
        font-size: 0.875rem;
        color: var(--text-color);
    }

    .form-select,
    .form-control {
        font-size: 0.875rem;
        background-color: var(--input-filter-background-color);
        color: var(--text-color);
        border: 1px solid var(--input-border-color);
        border-radius: 0.375rem;
    }

    .form-select:focus,
    .form-control:focus {
        border-color: var(--input-focus-border-color);
        box-shadow: 0 0 0 0.2rem var(--input-focus-shadow-color);
    }

    .form-select[multiple] {
        min-height: 100px;
    }

    .input-group-text {
        background-color: var(--input-filter-background-color);
        color: var(--text-color);
        border: 1px solid var(--input-border-color);
    }

    .form-label i {
        color: var(--link-color) !important;
        font-size: 1rem;
        cursor: pointer;
    }

    #reset-filters,
    #apply-filters {
        padding: 0.45rem 1.1rem;
        font-size: 0.875rem;
        border-radius: 0.375rem;
        border: none;
        color: var(--button-text-color);
    }

    #reset-filters {
        background-color: #6c757d;
    }

    #apply-filters {
        background-color: var(--accent-blue);
    }

    #apply-filters:hover {
        background-color: var(--link-hover-color);
        color: #fff;
    }

    #reset-filters:hover {
        background-color: #5a6268;
        color: #fff;
    }

    input::placeholder,
    textarea::placeholder,
    select::placeholder,
    .flatpickr-input::placeholder,
    .select2-selection__placeholder {
        color: var(--placeholder-color) !important;
        opacity: 1;
    }

    input[disabled],
    select[disabled] {
        background-color: var(--input-disable-background-color);
        color: var(--input-disable-color);
    }

    .filter-badge {
        background-color: var(--badge-background);
        color: var(--badge-text-color);
        border: 1px solid var(--light-border);
        border-radius: 20px;
        padding: 4px 10px;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .filter-badge i {
        font-size: 0.9rem;
        cursor: pointer;
    }

    .select2-container--default .select2-selection--single,
    .select2-container--default .select2-selection--multiple {
        background-color: var(--input-filter-background-color);
        border: 1px solid var(--input-border-color);
        border-radius: 0.375rem;
        font-size: 0.875rem;
        color: var(--text-color);
        min-height: 38px;
    }

    .select2-selection--multiple .select2-selection__choice {
        background-color: var(--accent-blue);
        color: var(--button-text-color);
        border-radius: 0.375rem;
        border: none;
        padding: 0 20px;
    }

    .select2-results__option--highlighted[aria-selected] {
        background-color: var(--accent-blue);
        color: #fff;
    }

    .select2-dropdown {
        background-color: var(--card-background-color);
        border: 1px solid var(--input-border-color);
        border-radius: 0.375rem;
    }

    .flatpickr-calendar {
        background-color: var(--card-background-color);
        color: var(--text-color);
        border: 1px solid var(--input-border-color);
        box-shadow: 0 4px 10px var(--card-box-shadow-color);
    }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange {
        background-color: var(--accent-blue);
        color: #fff;
        border-color: var(--accent-blue);
    }

    .flatpickr-day:hover {
        background-color: var(--link-hover-color);
        color: #fff;
    }

    @media (max-width: 768px) {
        .accordion-body .row > [class*="col-md-"] {
            margin-bottom: 1rem;
        }

        .col-md-6.d-flex {
            flex-direction: column;
            align-items: flex-start !important;
        }

        .col-md-6.d-flex .dropdown,
        .col-md-6.d-flex #reset-columns {
            width: 100%;
            margin-bottom: 0.5rem;
        }

        .btn-group {
            flex-wrap: wrap;
            gap: 0.5rem;
        }
    }
    @media (max-width: 768px) {
        .column-controls {
            width: 100% !important;
            margin-bottom: 1rem;
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            text-align: left !important;
        }

        .column-controls #columnToggleDropdown,
        .column-controls #reset-columns {
            width: 100%;
            text-align: left;
        }

        .column-controls #columnToggleList {
            max-height: 300px;
            overflow-y: auto;
        }

        /* SADECE .preset-buttons içindeki üç buton için geçerli */
        .preset-buttons .btn-group[role="group"][aria-label="Tarih Filtreleri"] {
            display: flex !important;
            flex-wrap: nowrap !important;
            justify-content: space-between !important;
            gap: 0.5rem;
        }

        .preset-buttons label[for="today"],
        .preset-buttons label[for="this_week"],
        .preset-buttons label[for="this_month"] {
            flex: 1 1 auto;
            text-align: center;
            font-weight: 600;
            border-radius: 0.375rem;
            padding: 0.5rem 0.75rem;
            transition: all 0.2s ease-in-out;
            white-space: nowrap;
        }

        .preset-buttons label[for="today"]:hover,
        .preset-buttons label[for="this_week"]:hover,
        .preset-buttons label[for="this_month"]:hover {
            background-color: var(--accent-blue, #0d6efd);
            color: #fff;
            border-color: var(--accent-blue, #0d6efd);
        }
    }

    @media (max-width: 576px) {
        .accordion-button {
            font-size: 0.9rem;
            padding: 0.75rem 1rem;
        }
    }
}
html.dark-mode #filterAccordion .select2-dropdown,
html.dark-mode .select2-dropdown,
html.dark-mode #filterAccordion.select2-results__option {
    background-color: #2f2f2f !important;
    color: #f1f1f1 !important;
}


/*--------------------------------------------------------------
# Admin Packages Operation Filter Smart Badges
--------------------------------------------------------------*/

#active-filters {
    padding: 0.5rem;
    background-color: var(--card-background-color);
    border: 1px solid var(--light-border);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px var(--accordion-shadow);
}

#active-filters .filter-badge {
    background-color: var(--badge-background);
    color: var(--badge-text-color);
    border: 1px solid var(--light-border);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#active-filters .filter-badge i {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

#active-filters .filter-badge:hover {
    background-color: var(--accent-blue);
    color: #fff;
}

#result-summary {
    font-size: 0.85rem;
    color: var(--text-color) !important;
    background-color: var(--background-color);
    border-left: 4px solid var(--accent-blue);
    padding-left: 0.75rem;
}

/*--------------------------------------------------------------
# Admin Packages Operation Filter Table
--------------------------------------------------------------*/

.table-fade-in-packages tbody tr {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInRow 0.4s ease-in-out forwards;
}

.table-fade-in-packages tbody tr:nth-child(1)  { animation-delay: 0.05s; }
.table-fade-in-packages tbody tr:nth-child(2)  { animation-delay: 0.10s; }
.table-fade-in-packages tbody tr:nth-child(3)  { animation-delay: 0.15s; }
.table-fade-in-packages tbody tr:nth-child(4)  { animation-delay: 0.20s; }
.table-fade-in-packages tbody tr:nth-child(5)  { animation-delay: 0.25s; }
.table-fade-in-packages tbody tr:nth-child(6)  { animation-delay: 0.30s; }
.table-fade-in-packages tbody tr:nth-child(7)  { animation-delay: 0.35s; }
.table-fade-in-packages tbody tr:nth-child(8)  { animation-delay: 0.40s; }
.table-fade-in-packages tbody tr:nth-child(9)  { animation-delay: 0.45s; }
.table-fade-in-packages tbody tr:nth-child(10) { animation-delay: 0.50s; }

@keyframes fadeInRow {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.table-fade-in-packages tbody tr:nth-child(n+11) {
    animation-delay: 0.55s;
}

/*--------------------------------------------------------------
# Working Hours Table Color
--------------------------------------------------------------*/


.row-open td {
    background-color: #eaffea !important;
}

.row-closed td {
    background-color: #fff0f0 !important;
}

.row-holiday td {
    background-color: #fff8e6 !important;
}

.row-undefined td {
    background-color: #f2f2f2 !important;
}

.row-open:hover td {
    background-color: #d4f8d4 !important;
}

.row-closed:hover td {
    background-color: #ffe0e0 !important;
}

.row-holiday:hover td {
    background-color: #ffeecc !important;
}

.row-undefined:hover td {
    background-color: #e0e0e0 !important;
}


/*--------------------------------------------------------------
# Complaint Panel Style
--------------------------------------------------------------*/

.complaint-list-container {
    overflow-x: hidden;
}

/* Bildirim kutusu */
.notification-box {
    background-color: var(--popup-background-color, #f8f9fa);
    transition: box-shadow 0.2s ease;
}
.notification-box:hover {
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}
.notification-card {
    background-color: var(--bs-light, #f8f9fa);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.notification-card:hover {
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
    transform: scale(1.01);
}
.complaint-list-container::-webkit-scrollbar {
    width: 6px;
}
.complaint-list-container::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 10px;
}



 .complaint-panel {
     position: fixed;
     top: 60px;
     right: 0;
     width: 420px;
     height: calc(100vh - 10px);
     overflow-y: auto;
     background: #ffffff;
     border-left: 1px solid #dee2e6;
     box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
     z-index: 9999;
     display: flex;
     flex-direction: column;
     transform: translateX(100%);
     transition: transform 0.3s ease-in-out;
 }
.complaint-panel.active {
    right: 0;
}
.panel-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#complaint-status-panel,
#complaint-side-panel {
    z-index: 11000 !important;
}

#complaint-status-panel.active {
    transform: translateX(0);
}
#complaint-status-panel .panel-header {
    position: sticky;
    top: 0;
    background-color: var(--background-color);
    z-index: 1;
}
#complaint-status-panel .panel-body {
    flex-grow: 1;
    overflow-y: auto;
    background-color: var(--background-color);
    padding-bottom: 1rem;
    animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
#complaint-status-panel .panel-footer {
    position: sticky;
    bottom: 0;
    background-color: var(--background-color);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.detail-fade {
    animation: fadeSlideDown 0.4s ease forwards;
}

.detail-fade .text-muted {
    color: var(--secondary-color) !important;
}

#complaint-status-panel .btn-close {
    background-color: var(--link-color) !important;
}
#complaint-status-panel .btn-close:hover {
    background-color: var(--link-hover-color) !important;
}

.badge-complaint-created { background-color: #6c757d; color: #fff; }
.badge-complaint-inprogress { background-color: #ffc107; color: #212529; }
.badge-complaint-resolved { background-color: #198754; color: #fff; }

.badge-cancel-created { background-color: #b0bec5; color: #263238; }
.badge-cancel-inprogress { background-color: #ffe082; color: #4e342e; }
.badge-cancel-resolved { background-color: #a5d6a7; color: #1b5e20; }

.badge-trash { background-color: #343a40; color: #fff; }
.badge-unknown { background-color: #f8f9fa; color: #212529; }

.placeholder-badge {
    display: inline-block;
    width: 90px;
    height: 1.2rem;
    background-color: #dee2e6;
    border-radius: 0.375rem;
}

@media (max-width: 992px) {
    .complaint-panel {
        width: 100vw;
        max-width: 100vw;
        right: 0;
        left: 0;
        border-left: none;
        border-top: 1px solid #dee2e6;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
        top: auto;
        bottom: 0;
        height: 85vh;
        min-height: 320px;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    .complaint-panel.active {
        transform: translateY(0);
        right: 0;
        left: 0;
    }
    .panel-header,
    #complaint-status-panel .panel-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    #complaint-status-panel,
    #complaint-side-panel {
        width: 100vw;
        left: 0;
        right: 0;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 576px) {
    .complaint-panel,
    #complaint-status-panel,
    #complaint-side-panel {
        width: 100vw !important;
        min-width: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 18px 18px 0 0;
        padding: 0;
        top: auto !important;
        bottom: 0 !important;
        height: 90vh !important;
        max-width: 100vw !important;
    }
    .panel-header,
    #complaint-status-panel .panel-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    .notification-box,
    .notification-card {
        border-radius: 12px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    .complaint-list-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/*--------------------------------------------------------------
# Fa İcon Animation
--------------------------------------------------------------*/


.fa-spin-custom {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.fa-pulse-custom {
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.2);}
    100% { transform: scale(1);}
}

.bi-pulse {
    animation: bi-pulse 1s infinite;
}
@keyframes bi-pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.2);}
    100% { transform: scale(1);}
}

.fa-shake-custom {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both infinite;
}
@keyframes shake {
    10%, 90% { transform: translateX(-1px);}
    20%, 80% { transform: translateX(2px);}
    30%, 50%, 70% { transform: translateX(-4px);}
    40%, 60% { transform: translateX(4px);}
}

.fa-bounce-custom {
    animation: bounce 0.8s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-10px);}
}

.fa-glow-custom {
    animation: glow 1.2s infinite alternate;
}
@keyframes glow {
    from { text-shadow: 0 0 4px #4fc3f7, 0 0 12px #0288d1; }
    to { text-shadow: 0 0 10px #4fc3f7, 0 0 24px #0288d1; }
}

.fa-colorfade {
    animation: colorfade 2s infinite alternate;
    transition: color 0.3s;
}
@keyframes colorfade {
    from { color: #007bff; }
    to { color: #e91e63; }
}

.fa-hover-grow:hover {
    transform: scale(1.2);
    color: #f39c12;
    transition: transform 0.2s, color 0.2s;
}

.fa-fade {
    opacity: 0.4;
    transition: opacity 0.4s;
}
.fa-fade:hover {
    opacity: 1;
}

.fa-flip-custom {
    transition: transform 0.6s;
}
.fa-flip-custom:hover {
    transform: rotateY(180deg);
}


/*--------------------------------------------------------------
# Bootstrap Ek Kolon
--------------------------------------------------------------*/

.col-3-5 {
    flex: 0 0 auto;
    width: 29.16%;
    max-width: 29.16%;
}

@media (min-width: 576px) {
    .col-3-5 {
        width: 20.16%;
        max-width: 20.16%;
    }
}


.shift-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
}

.shift-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shift-checkbox {
    display: none;
}

.play-icon,
.pause-icon {
    font-size: 1.8rem; /* BÜYÜTÜLDÜ */
    transition: transform 0.2s ease;
}

.shift-label:hover .play-icon,
.shift-label:hover .pause-icon {
    transform: scale(1.1); /* Hover ile hafif büyüme efekti */
}

.shift-checkbox:checked ~ .shift-label .play-icon {
    display: none;
}

.shift-checkbox:not(:checked) ~ .shift-label .pause-icon {
    display: none;
}

