﻿html[data-color='light-bordro'] {
    --primary: #2B3990;
    --secondary: #3246c1;
    --tertiary: #5de3c8;
    --quaternary: #558df3;
    --primary-rgb: 30, 168, 231;
    --secondary-rgb: 108, 219, 239;
    --tertiary-rgb: 93, 227, 200;
    --quaternary-rgb: 85, 141, 243;
    --primary-darker: #102087;
    --secondary-darker: #61c6d8;
    --tertiary-darker: #54ccb4;
    --quaternary-darker: #4c7dd6;
    --body: #4e4e4e;
    --alternate: #7c7c7c;
    --muted: #afafaf;
    --separator: #e6e6e6;
    --separator-light: #f1f1f1;
    --body-rgb: 59, 59, 59;
    --alternate-rgb: 124, 124, 124;
    --muted-rgb: 176, 176, 176;
    --separator-rgb: 221, 221, 221;
    --separator-light-rgb: 241, 241, 241;
    --background: #f9f9f9;
    --foreground: #ffffff;
    --background-rgb: 249, 249, 249;
    --foreground-rgb: 255, 255, 255;
    --background-theme: #eaf0f1;
    --background-light: #f8f8f8;
    --gradient-1: #2B3990;
    --gradient-2: #2b3990;
    --gradient-3: #3141a3;
    --gradient-1-lighter: #2abdff;
    --gradient-1-darker: #1fa5e2;
    --light-text: #fff;
    --dark-text: #343a40;
    --light-text-darker: #eeeeee;
    --dark-text-darker: #23272b;
    --light-text-rgb: 255, 255, 255;
    --dark-text-rgb: 52, 58, 64;
    --danger: #cf2637;
    --info: #279aac;
    --warning: #ebb71a;
    --success: #439b38;
    --light: #dadada;
    --dark: #4e4e4e;
    --danger-darker: #771a23;
    --info-darker: #800000;
    --warning-darker: #aa830f;
    --success-darker: #285422;
    --light-darker: #c9c9c9;
    --dark-darker: #282828;
    --body-darker: #333333;
    --alternate-darker: #616161;
    --muted-darker: #888888;
    --separator-darker: #c0c0c0;
    --danger-rgb: 182, 40, 54;
    --info-rgb: 41, 138, 153;
    --warning-rgb: 235, 183, 26;
    --success-rgb: 65, 139, 56;
    --light-rgb: 218, 218, 218;
    --dark-rgb: 78, 78, 78;
    --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.12);
    --menu-shadow-navcolor: 0px 2px 6px rgba(0, 0, 0, 0.05);
    --background-navcolor-light: #fff;
    --background-navcolor-dark: #242424;
    --theme-image-filter: hue-rotate(0deg);
}

html[data-color='dark-bordro'] {
    --primary: #546af2;
    --secondary: #61c6d8;
    --tertiary: #54cdb4;
    --quaternary: #4d7fdb;
    --primary-rgb: 27, 152, 208;
    --secondary-rgb: 97, 198, 216;
    --tertiary-rgb: 84, 205, 180;
    --quaternary-rgb: 77, 127, 219;
    --primary-darker: #5262c9;
    --secondary-darker: #56b1c1;
    --tertiary-darker: #46af99;
    --quaternary-darker: #426ebf;
    --body: #c1c1c1;
    --alternate: #999999;
    --muted: #727272;
    --separator: #474747;
    --separator-light: #2e2e2e;
    --body-rgb: 193, 193, 193;
    --alternate-rgb: 153, 153, 153;
    --muted-rgb: 114, 114, 114;
    --separator-rgb: 71, 71, 71;
    --separator-light-rgb: 46, 46, 46;
    --background: #121212;
    --foreground: #1d1d1d;
    --background-rgb: 29, 29, 29;
    --foreground-rgb: 36, 36, 36;
    --background-theme: #242424;
    --background-light: #292929;
    --gradient-1: #2b3990;
    --gradient-2: #2c3b9b;
    --gradient-3: #3041a5;
    --gradient-1-lighter: #4a5edb;
    --gradient-1-darker: #1a90c5;
    --light-text: #f0f0f0;
    --dark-text: #191c1f;
    --light-text-darker: #e9e9e9;
    --dark-text-darker: #08090a;
    --light-text-rgb: 240, 240, 240;
    --dark-text-rgb: 25, 28, 31;
    --danger: #b62836;
    --info: #298a99;
    --warning: #ebb71a;
    --success: #418b38;
    --light: #dadada;
    --dark: #4e4e4e;
    --danger-darker: #800000;
    --info-darker: #19545d;
    --warning-darker: #aa830f;
    --success-darker: #285422;
    --light-darker: #c9c9c9;
    --dark-darker: #282828;
    --body-darker: #a0a0a0;
    --alternate-darker: #6e6e6e;
    --muted-darker: #4e4e4e;
    --separator-darker: #353535;
    --danger-rgb: 182, 40, 54;
    --info-rgb: 41, 138, 153;
    --warning-rgb: 235, 183, 26;
    --success-rgb: 65, 139, 56;
    --light-rgb: 218, 218, 218;
    --dark-rgb: 78, 78, 78;
    --menu-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    --menu-shadow-navcolor: 0px 3px 10px rgba(0, 0, 0, 0.4);
    --background-navcolor-light: #fff;
    --background-navcolor-dark: #242424;
    --theme-image-filter: hue-rotate(0deg) brightness(0.9);
}

    html[data-color='light-blue'] .logo .img, html[data-color='light-lime'] .logo .img, html[data-color='light-green'] .logo .img, html[data-color='light-red'] .logo .img, html[data-color='light-pink'] .logo .img, html[data-color='light-purple'] .logo .img, html[data-color='light-teal'] .logo .img, html[data-color='light-sky'] .logo .img, html[data-color='dark-blue'] .logo .img, html[data-color='dark-green'] .logo .img, html[data-color='dark-red'] .logo .img, html[data-color='dark-pink'] .logo .img, html[data-color='dark-purple'] .logo .img, html[data-color='dark-lime'] .logo .img, html[data-color='dark-sky'] .logo .img, html[data-color='dark-teal'] .logo .img, html[data-color='light-bordro'] .logo .img, html[data-color='dark-bordro'] .logo .img {
        background-image: url(/img/logo/logo-white.svg) !important;
    }
#settings .bordro-light {
    background-image: url(/colors/GeceMavisi-light.svg);
}

#settings .bordro-dark {
    background-image: url(/colors/GeceMavisi-dark.svg);
}
html[data-placement=vertical][data-behaviour=unpinned]:not([data-menu-animate=show]) .nav-container .nav-content .user-container .worker .profile, html[data-placement=vertical][data-behaviour=unpinned]:not([data-menu-animate=show]) .nav-container .nav-content .user-container .worker .profile + span {
    width: 50px !important;
    height: 50px !important;
}
html[data-placement=vertical][data-behaviour=unpinned][data-menu-animate=hidden] .nav-container .nav-content .user-container .worker .profile, html[data-placement=vertical][data-behaviour=unpinned]:not([data-menu-animate=hidden]) .nav-container .nav-content .user-container .worker .profile + span {
    transition-duration: var(--transition-time);
    transition-property: width, height, padding;
}

html[data-placement=vertical][data-behaviour=unpinned][data-menu-animate=show] .nav-container .nav-content .user-container .worker .profile, html[data-placement=vertical][data-behaviour=unpinned]:not([data-menu-animate=show]) .nav-container .nav-content .user-container .worker .profile + span {
    transition-duration: var(--transition-time);
    transition-property: width, height, padding;
}
html[data-placement=vertical][data-behaviour=unpinned]:not([data-menu-animate=show]) .nav-container .nav-content .user-container .worker .profile + span {
    padding: 10px 12px !important;
}
.settings-buttons-container {
    top: 60% !important;
}
/* Overflow: auto */
div::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 12px;
    margin: 15px;
}

div::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    background-color: transparent;
}

div::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 12px;
}

/* FORM İŞLEMLERİ */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Tablolar */
table {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}
td, th {
    padding: .1rem .5rem;
}

table input, table select {
    min-width: 200px;
}

    table input[type="checkbox"] {
        min-width: auto;
        margin-right: .5rem;
    }

/* Admin Layout */
.admin-info {
    border-bottom: 1px solid;
    border-color: var(--separator);
}

    .admin-info .language-switch-container button {
        color: #f26522 !important;
        padding: 10px;
    }

    .admin-info .user img {
        width: 100%;
        max-width: 40px;
    }

@media (min-width: 992px) {
    .admin-info {
        margin-top: -1.5rem;
    }
}

.admin info .dropdown-menu {
    padding: 20px 30px 20px 30px;
}

.admin info .notification-button {
    padding: 10px;
    line-height: 9px;
}
/* Sosyal güvenlik ve Ücret bilgiler sayfası ortak */
.tarihler {
    border: 1px solid #f06320;
    border-radius: 1rem;
}

.tarihler-table tr td:nth-child(2) {
    text-align: right;
}

.tarihler-table tr td {
    padding: .5rem;
}

.tarihler-table tr {
    cursor: pointer;
    border-bottom: 1px solid;
    border-color: var(--separator);
}

    .tarihler-table tr:hover {
        color: #1eabe2;
    }
    .tarihler-table tr.selected {
        background-color: var(--separator);
    }
.empty-message {
    text-align: center;
    margin-top: .5rem;
    font-style: italic;
    font-weight: 600;
}
/* Moduller Sayfaları Listeleme Tabloları */
.list-table {
    border-spacing: 0 calc(var(--card-spacing-xs) / 10* 7) !important;
    border-collapse: separate !important;
}
    .list-table tbody tr {
        box-shadow: 0 4px 10px rgba(0, 0, 0, .03) !important;
        border-radius: var(--border-radius-lg);
        padding-bottom: .5rem;
    }
        .list-table tr:hover td {
            border-top-color: rgba(var(--separator-rgb), 1);
            border-bottom-color: rgba(var(--separator-rgb), 1);
        }
            .list-table tr:hover td:first-child {
                border-left-color: rgba(var(--separator-rgb), 1);
            }
            .list-table tr:hover td:last-child {
                border-right-color: rgba(var(--separator-rgb), 1);
            }
    .list-table th {
        padding-left: var(--card-spacing-sm);
        padding-right: var(--card-spacing-sm);
    }
    .list-table td {
        height: 42px;
        padding-left: var(--card-spacing-sm);
        padding-right: var(--card-spacing-sm);
        padding-top: .25rem;
        padding-bottom: .25rem;
        border: 1px solid transparent;
        background: var(--foreground);
        vertical-align: middle;
        white-space: nowrap;
    }
    .list-table td:first-child, #PersonelList th:first-child {
        border-top-left-radius: var(--border-radius-lg);
        border-bottom-left-radius: var(--border-radius-lg);
    }
    .list-table td:last-child, #PersonelList td:last-child {
        border-top-right-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
    }

/* Ucret Artis Tablosu */
.list-table {
    border-spacing: 0 calc(var(--card-spacing-xs) / 10* 7) !important;
    border-collapse: separate !important;
}

    .list-table tbody tr {
        box-shadow: 0 4px 10px rgba(0, 0, 0, .03) !important;
        border-radius: var(--border-radius-lg);
        padding-bottom: .5rem;
    }

    .list-table tr:hover td {
        border-top-color: rgba(var(--separator-rgb), 1);
        border-bottom-color: rgba(var(--separator-rgb), 1);
    }

        .list-table tr:hover td:first-child {
            border-left-color: rgba(var(--separator-rgb), 1);
        }

        .list-table tr:hover td:last-child {
            border-right-color: rgba(var(--separator-rgb), 1);
        }

    .list-table th {
        padding-left: var(--card-spacing-sm);
        padding-right: var(--card-spacing-sm);
    }

    .list-table td, #ucretList th {
        height: 42px;
        padding-left: var(--card-spacing-sm);
        padding-right: var(--card-spacing-sm);
        padding-top: .25rem;
        padding-bottom: .25rem;
        border: 1px solid transparent;
        background: var(--foreground);
        vertical-align: middle;
        white-space: nowrap;
    }

        .list-table td:first-child, #ucretList th:first-child {
            border-top-left-radius: var(--border-radius-lg);
            border-bottom-left-radius: var(--border-radius-lg);
        }

        .list-table td:last-child, #ucretList td:last-child {
            border-top-right-radius: var(--border-radius-lg);
            border-bottom-right-radius: var(--border-radius-lg);
        }
/* Bordro Yönetimi */
.fixed-data {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 9999;
}
    .fixed-data .veriler-button {
        background-color: #fff;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    }

    .fixed-data .veriler {
        position: absolute;
        width: 300px;
        right: 0;
        bottom: 70px;
    }
        .fixed-data .veriler .card-body {
            box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
        }

@media (min-width: 992px) {
    .fixed-data {
        position: absolute;
        top: 40px;
        right: 0;
        bottom: inherit;
    }
        .fixed-data.position-fixed {
            top: 82px;
            right: 2.5rem;
        }

        .fixed-data .veriler {
            position: relative;
            bottom: inherit;
            top: 0;
        }

    .masraf-alani {
        margin-right: 320px;
    }
}

/* Tablonun genel kaydırma özelliği */
.scrollable-table {
    position: relative;
    border-collapse: collapse;
    width: 100%;
    overflow: auto;
}

    .scrollable-table .sticky {
        position: sticky;
        background-color: #fff;
        z-index: 1;
    }

    .scrollable-table th:nth-child(2), .scrollable-table td:nth-child(2) {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    .scrollable-table th:nth-child(3), .scrollable-table td:nth-child(3) {
        position: sticky;
        left: 77px;
        z-index: 2;
        box-shadow: 7px 0 10px 0 #eeeeee78;
    }

    .scrollable-table th:nth-last-child(2), .scrollable-table td:nth-last-child(2) {
        position: sticky;
        right: 122px;
        z-index: 2;
        padding: 0 .5rem;
        box-shadow: -7px 0 10px #eeeeee78;
    }

    .scrollable-table th:nth-last-child(1), .scrollable-table td:nth-last-child(1) {
        position: sticky;
        right: 0;
        z-index: 2;
        padding: 0 .5rem;
        min-width: 115.61px !important;
    }
.genderImg {
    max-height: 200px;
    height: 100%;
    stroke: #000;
    fill: var(--foreground);
    width: 84px;
}
html[data-color*="dark"] .genderImg {
    stroke: #fff;
}
#dashboard .womanDiv, #dashboard .manDiv {
    background: var(--foreground);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

#dashboard .womanDiv {
    box-shadow: 0 4px 10px rgb(255 57 167 / 15%) !important;
    color: #ff7bd1;
}

#dashboard .manDiv {
    box-shadow: 0 4px 10px rgb(57 145 255 / 15%) !important;
    color: #72b1ff;
}
#dashboard .genderPercent {
    font-size: 1rem;
    font-family: cursive;
    text-align: center;
    transition: width 0.5s ease-in-out, background-color 0.3s ease;
}

    #dashboard .genderPercent .percent {
        font-size: 1.5rem;
        font-weight: 600;
    }

#dashboard .genderPercent .womanPercent {
    color: rgb(255 57 167);
}

#dashboard .genderPercent .manPercent {
    color: #3991ff;
}
html[data-color="dark-bordro"] #dashboard .manDiv img, html[data-color="dark-bordro"] #dashboard .womanDiv img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.fixed-button-area {
    position: absolute;
    z-index: 999;
    bottom: var(--footer-size);
    right: 2rem;
    width: 350px;
    box-shadow: -3px -4px 10px rgba(0, 0, 0, 0.09) !important;
    background: var(--foreground);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}
.fixed-button-area.fixed {
    position: fixed;
    bottom: 0;
}
.fixed-summary {
    top: 82px;
    right: 14px;
}
#chooseCompany {
    right: -240px;
    top: 15%;
    width: 280px;
    background: var(--foreground);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    box-shadow: -1px 0px 10px rgba(0, 0, 0, 0.2) !important;
    transition: right .4s ease;
    -webkit-transition: right .4s ease;
}
    #chooseCompany.open {
        right: 0;
    }

    #chooseCompany > span {
        background-color: var(--danger-darker);
        color: #fff;
        border-radius: 100%;
        width: 58px;
        height: 58px;
        padding: 11px 17px;
        left: -24px;
        top: calc(50% - 28px);
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2) !important;
        z-index: 999;
    }
#loadingSpinnerForArea {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    z-index: 1;
}
    #loadingSpinnerForArea .spinner-area {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-left-color: #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.custom-tooltip .tooltip-inner {
    background-color: #993942 !important; /* Sarı Arka Plan */
    color: #fff !important; /* Siyah Yazı Rengi */
}

.custom-tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #993942 !important;
}

.custom-tooltip::before {
    content: "";
    position: absolute;
    bottom: calc(50% - 6px); /* Tooltip'in altına ekleme */
    right: -11px;
    z-index: 99;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent transparent #993942; /* Üstte sarı, diğerleri şeffaf */
}
#nav #chooseCompanyTrigger {
    order: 2;
}
.educationList > div:not(:last-child) {
    border-bottom: 1px solid var(--separator);
}
.select2-container--default .select2-selection--single {
    font-size: 1em;
    height: auto;
    min-height: var(--input-height);
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    filter: none;
    padding: .375rem 2.25rem .375rem .75rem;
    transition: border-color 0.15sease-in-out;
}

.select2-container .select2-selection--single .select2-selection__rendered, .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    min-height: auto !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    font-size: 1em;
    height: auto;
    min-height: var(--input-height);
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    filter: none;
    margin-top: 1px;
    transition: border-color 0.15sease-in-out;
}
    .select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
        background-color: var(--foreground);
        color: var(--body);
        border-color: rgba(var(--primary-rgb), 1);
        outline: none;
    }

.form-switch.form-check.addCheck .form-check-input {
    width: 38px;
    height: 20px;
}
.select2-container--default .select2-selection--multiple {
    color: var(--body);
    box-shadow: initial !important;
    background-color: var(--foreground);
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    padding: .1rem 2.25rem .1rem .75rem;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    min-height: 36px;
}
#YetkilendirmeTablosu td:nth-child(3) {
    max-width: 500px;
    overflow: hidden;
}
div.dataTables_wrapper div.dataTables_paginate .paginate_button {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    text-align: center;
    outline: initial !important;
    border: initial;
    padding: 8px 9px;
    line-height: 1.5;
    font-size: 1em;
    width: var(--input-height);
    height: var(--input-height);
    color: var(--primary);
    border-radius: var(--border-radius-md) !important;
    background: var(--foreground);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .03) !important;
}
    div.dataTables_wrapper div.dataTables_paginate .paginate_button.current {
        background-color: var(--primary);
        color: #fff;
    }

div.dataTables_wrapper div.dataTables_paginate > .paginate_button {
    font-size: 0;
}

    div.dataTables_wrapper div.dataTables_paginate > .paginate_button.previous:before {
        content: '<';
        font-size: .9rem;
    }

    div.dataTables_wrapper div.dataTables_paginate > .paginate_button.next:before {
        content: '>';
        font-size: .9rem;
    }
div.dataTables_wrapper div.dataTables_length select {
    font-size: 1em;
    min-width: 40px;
    min-height: 1.5rem;
    border-color: var(--separator);
    border-radius: var(--border-radius-md);
    filter: none;
    transition: border-color 0.15s ease-in-out;
}
div.dataTables_wrapper table.dataTable th {
    padding: .4rem;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
    background-color: transparent !important;
}