@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
    --body-font: 'Poppins', sans-serif;
    --normal-font-size: 13px;
    --title-font-size: 16px;
    --font-w-bold: 600;
    --body-bg: #f8f8fb;
    --text-color: 73, 80, 87;
    --color1: 42, 48, 66;
    --color2: 244, 106, 106;
    --color3: 72, 94, 196;
    --color4: 52, 195, 143;
    --color5: 241, 180, 76;
    --color6: 255, 255, 255;
}

/*========== Reset Css ==========*/
* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-bg);
    color: rgb(var(--text-color));
}

p {
    line-height: 25px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgb(var(--text-color));
    font-family: var(--body-font);
    font-weight: var(--font-w-bold);
    font-size: var(--title-font-size);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgb(var(--text-color));
}

img {
    max-width: 100%;
    height: auto;
}

/*========== Reset Css End ==========*/

/*========== Sabitler ==========*/
.box {
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0 0.75rem 1.5rem rgb(18 38 63 / 3%);
    box-shadow: 0 0.75rem 1.5rem rgb(18 38 63 / 3%);
    display: block;
}

.box-title {
    width: fit-content;
    font-size: var(--title-font-size);
    font-weight: var(--font-w-bold);
}

.br-4,
.box,
.form-input,
.btn,
.custom-file,
.custom-file-btn,
.form-texarea,
.dropzone {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.badge {
    padding: 2px 10px;
    width: fit-content;
    align-items: center;
    display: flex;
    background-color: #F5F7F9;
    text-transform: uppercase;
    font-weight: var(--font-w-bold);
    font-size: 12px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.badge .dot {
    width: 10px;
    height: 10px;
    margin-right: 5px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.widget-icon{
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    display: flex;
}

.ptb-0{
    padding-top: 0px;
    padding-bottom: 0px;
}

.p-10{
    padding: 10px !important;
}

.p-20 {
    padding: 20px;
}

.mr-0{
    margin-right: 0px !important;
}

.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.ml-5{
    margin-left: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.bold {
    font-weight: var(--font-w-bold);
}

.color1 {
    color: rgb(var(--color1)) !important;
}

.color2 {
    color: rgb(var(--color2)) !important;
}

.color3 {
    color: rgb(var(--color3)) !important;
}

.color4 {
    color: rgb(var(--color4)) !important;
}

.color5 {
    color: rgb(var(--color5)) !important;
}
.color6{
    color: rgb(var(--color6)) !important;
}
.col-1-3 {
    grid-template-columns: 1fr 3fr;
}

.bg-color1 {
    background-color: rgb(var(--color1)) !important;
}

.bg-color2 {
    background-color: rgb(var(--color2)) !important;
}

.bg-color3 {
    background-color: rgb(var(--color3)) !important;
}

.bg-color4 {
    background-color: rgb(var(--color4)) !important;
}

.bg-color5 {
    background-color: rgb(var(--color5)) !important;
}
.bg-color6{
    background-color: rgb(var(--color6)) !important;
}
.bg-sheer-color1 {
    background-color: rgb(var(--color1), 0.2) !important;
}

.bg-sheer-color2 {
    background-color: rgb(var(--color2), 0.2) !important;
}

.bg-sheer-color3 {
    background-color: rgb(var(--color3), 0.2) !important;
}

.bg-sheer-color4 {
    background-color: rgb(var(--color4), 0.2) !important;
}

.bg-sheer-color5 {
    background-color: rgb(var(--color5), 0.2) !important;
}

.bt-1 {
    border-top: 1px solid #F5F7F9;
}

.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-4{
    grid-template-columns: repeat(4, 1fr);
}

.gap-10 {
    column-gap: 10px;
    row-gap: 10px;
}

.gap-20 {
    column-gap: 20px;
    row-gap: 20px;
}

.col-gap-20 {
    column-gap: 20px;
}

.row-gap-10 {
    row-gap: 10px;
}

.w-fit {
    width: 1%;
    white-space: nowrap;
}

.w-100 {
    width: 100% !important;
}

.text-right {
    text-align: right !important;
}

.justify-content-center{
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: end;
}

.align-items-center {
    align-items: center;
}

.text-center {
    text-align: center !important;
}

.flex-wrap{
    flex-wrap: wrap;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none{
    display: none;
}

.d-inline-flex {
    display: inline-flex;
}

/*========== Sabitler End ==========*/
/*========== Form Elemanları ==========*/
.btn {
    width: fit-content;
    height: 40px;
    padding: 0px 15px;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
    background: rgb(var(--color3));
    color: #fff;
    align-items: center;
    justify-content: center;
    display: flex;
}

.btn-sm {
    height: 25px;
    padding: 0px 10px;
}

.btn .icon {
    font-size: 15px;
}

.btn>* {
    pointer-events: none;
}

.form-group {
    width: 100%;
    display: block;
}

.form-label {
    width: 100%;
    font-weight: var(--font-w-bold);
    display: block;
}

.form-input {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    background-color: #F5F7F9;
    padding: 10px;
    border: none;
    outline: none;
    color: rgb(var(--text-color));
    font-family: var(--body-font);
    display: block;
}

.form-texarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    background-color: #F5F7F9;
    padding: 10px;
    border: none;
    outline: none;
    color: rgb(var(--text-color));
    font-family: var(--body-font);
    display: block;
    overflow: auto;
}

.dropzone {
    width: 100%;
    background-color: #F5F7F9 !important;
    padding: 10px !important;
    border: none !important;
    outline: none !important;
    font-family: var(--body-font);
    position: relative;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    display: grid;
}

.dropzone .dz-preview {
    width: 100%;
    height: 70px;
    min-height: 70px !important;
    background-color: #fff;
    margin: 0px !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: block;
}

.dropzone .dz-message {
    margin: 0 !important;
    position: absolute !important;
    top: 50% !important;
    -ms-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    opacity: .3 !important;
    display: block !important;
}

.dropzone .dz-preview.dz-file-preview .dz-image {
    width: fit-content !important;
    height: fit-content !important;
    font-size: 50px !important;
    padding: 0px 15px !important;
    background: transparent !important;
}

.dropzone .dz-preview .dz-details {
    padding: 8px !important;
}

.dropzone .dz-preview.dz-error {
    background-color: rgb(var(--color2), 0.2) !important;
}

.dropzone .dz-preview.dz-error .dz-error-mark {
    font-size: 20px !important;
    right: 0px !important;
    top: 25px !important;
    left: 101% !important;
    color: rgb(var(--color2)) !important;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
    font-size: 20px !important;
    right: 0px !important;
    top: 25px !important;
    left: 101% !important;
    color: rgb(var(--color4)) !important;
}

.dropzone .dz-preview .dz-error-message {
    top: 75px !important;
}

.drozone-upload-logo {
    font-size: 100px;
    opacity: .3;
    display: block !important;
}

.dz-started .dz-default.dz-message {
    display: none !important;
}

.no-resize {
    resize: none;
}

.note-box {
    width: 100%;
    resize: none;
    background-color: #fff;
    border: none;
    font-size: 13px;
    line-height: 24px;
    outline: none;
    color: rgb(var(--text-color));
    font-family: var(--body-font);
    display: block;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(var(--text-color), 0.4);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: red;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: red;
}

.ts-control {
    width: 100% !important;
    height: 40px !important;
    background-color: #F5F7F9 !important;
    padding: 10px !important;
    border: none !important;
    outline: none !important;
    color: rgb(var(--text-color)) !important;
    font-family: var(--body-font) !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    align-items: center;
    display: flex !important;
}

.ts-wrapper.single .ts-control:after {
    content: " ";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #808080 transparent transparent transparent;
}

.ts-dropdown .active {
    background-color: #F5F7F9 !important;
    color: rgb(var(--text-color)) !important;
}

.switch-container {
    align-items: center;
    display: flex;
}

.switch-container>label {
    cursor: pointer;
    font-weight: var(--font-w-bold);
}

input.switch {
    display: inline-block;
    cursor: pointer;
    height: 15px;
    width: 50px;
    position: relative;
    margin: 6px !important;
    padding: 0 !important;
}

input.switch:checked::before {
    background: rgb(var(--color4));
}

input.switch::before {
    font-size: 18px;
    color: #fff;
    box-shadow: 0 0 1px 1px #ffffff;
    content: '';
    display: block;
    position: absolute;
    background: #F5F7F9;
    width: 50px;
    border-radius: 1px;
    height: 25px;
    top: -5px;
    left: 0px;
    text-align: center;
}

input.switch::after {
    content: '';
    display: block;
    position: absolute;
    background: #FFF;
    border-radius: 2px;
    height: 21px;
    width: 22px;
    top: -3px;
    left: 1px;
    box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
    transition: all 300ms;
}

input.switch:checked::after {
    left: 26px;
}

input.round.switch::after,
input.round.switch::before {
    border-radius: 20px;
}

.custom-file {
    width: 100%;
    height: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    background-color: #F5F7F9;
    padding: 0px 5px 0px 10px;
    display: flex;
}

.custom-file>.custom-file-file-name {
    width: calc(100% - 100px);
    max-width: calc(100% - 100px);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.custom-file>.custom-file-btn {
    width: fit-content;
    padding: 5px 10px;
    color: var(--color2);
    background-color: rgb(var(--color4), 0.2) !important;
    display: block;
}

.custom-file>input {
    display: none;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--color1), .3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* Handle on hover */
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--color1), .5);
}


.ts-dropdown-content::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.ts-dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.ts-dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(var(--color1), .3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* Handle on hover */
.ts-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--color1), .5);
}

/*========== Form Elemanları End ==========*/

/* ========== TOPBAR ========== */
.top-bar {
    width: 100%;
    height: 50px;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    position: fixed;
    display: flex;
}

.top-bar>.logo {
    width: 250px;
    height: 100%;
    background-color: rgb(var(--color1));
    justify-content: center;
    align-items: center;
    display: flex;
}

.top-bar>.logo>a {
    width: fit-content;
    display: block;
}

.top-bar-user {
    width: fit-content;
    height: 50px;
    padding: 0px 10px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--text-color);
    font-family: var(--body-font);
    margin-right: 20px;
    align-items: center;
    position: relative;
    display: flex;
}

.top-bar-user:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.top-bar-user .user-image {
    width: 30px;
    height: 30px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin-right: 5px;
    outline: 3px solid #f6f6f6;
    display: block;
}

.top-bar-user .user-name {
    margin-right: 5px;
}

.top-bar-user .icon {
    font-size: 10px;
}

.top-bar-dropdown {
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    padding: 5px 0px;
    background-color: #fff;
    -webkit-box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
    display: none;
}

.top-bar-dropdown>.menu {
    width: 100%;
    display: block;
}

.top-bar-dropdown>.menu>li {
    width: 100%;
    text-align: left;
    display: block;
}

.top-bar-dropdown>.menu>li>a {
    width: 100%;
    padding: 10px;
    text-align: left;
    align-items: center;
    display: flex;
}

.top-bar-dropdown>.menu>li>a:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.btn-menu {
    display: none;
} 

/* ========== TOPBAR END ========== */
/* ========== SIDEBAR ========== */
.sidebar {
    width: 250px;
    height: 100%;
    top: 50px;
    background-color: rgb(var(--color1));
    position: fixed;
    display: block;
}

.sidebar-menu {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: block;
}

.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .4);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* Handle on hover */
.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

.sidebar-menu .menu-title {
    width: 100%;
    color: #6a7187;
    padding: 12px 20px !important;
    letter-spacing: .05em;
    pointer-events: none;
    cursor: default;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: var(--font-w-bold);
    display: block;
}

.sidebar-menu .menu-item {
    width: 100%;
    display: block;
}

.sidebar-menu .menu-item .dropdown::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    float: right;
    display: block;
}

.sidebar-menu .menu-item .menu-link {
    padding: 0.625rem 1.5rem;
    color: #a6b0cf;
    position: relative;
    font-size: 13px;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.sidebar-menu .menu-item .menu-link>* {
    pointer-events: none;
}

.sidebar-menu .menu-item .menu-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.053);
}

.sidebar-menu .menu-item .menu-link .menu-icon {
    margin-right: 10px;
    font-size: 15px;
}

.sub-menu {
    width: 100%;
    display: none;
}

.sub-menu .sub-menu-item {
    width: 100%;
    display: block;
}

.sub-menu .sub-menu-item .sub-menu-link {
    width: 100%;
    padding: 0.4rem 1.5rem 0.4rem 3rem;
    color: #a6b0cf;
    font-size: 13px;
    display: block;
}

.sub-menu .sub-menu-item .sub-menu-link>* {
    pointer-events: none;
}

.sub-menu .sub-menu-item .sub-menu-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.053);
}

.menu-link-active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.053);
}

.menu-link-active::after {
    transform: rotate(180deg);
}

/* ========== SIDEBAR END ========== */
/* ========== CONTENT ========== */
.content {
    margin-left: 250px;
    padding: 20px;
    padding-top: 70px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead tr th {
    background-color: #F5F7F9;
    padding: 15px 20px;
    text-align: left;
}

.table tbody tr td {
    padding: 15px 20px;
    border-bottom: 1px solid #F5F7F9;
    text-align: left;
}

.table tbody tr:hover td {
    background-color: #f5f7f969;
}

.pagination{
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
}
.pagination > li{
    width: fit-content;
    display: inline-block;
}
.pagination > li > a{
    min-height: 35px;
    min-width: 35px;
    width: fit-content;
    padding: 5px 10px;
    background: #fff;
    font-weight: var(--font-w-bold);
    font-size: 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0.75rem 1.5rem rgb(18 38 63 / 3%);
    box-shadow: 0 0.75rem 1.5rem rgb(18 38 63 / 3%);
    align-items: center;
    justify-content: center;
    display: inline-flex;
}
.pagination > li > a:hover, .pagination > li > .active{
    background-color: rgb(var(--color4), 0.2);
    color: rgb(var(--color4));
}

/* ========== CONTENT END ========== */
/* ========== LOGIN ========== */
.login {
    width: 100%;
    max-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-title {
    width: 100%;
    font-size: 25px;
    text-align: center;
    display: block;
}

.login-desc {
    width: 100%;
    font-size: 12px;
    text-align: center;
    display: block;
}

.forgot-pass {
    width: fit-content;
    margin: auto;
    font-weight: var(--font-w-bold);
    opacity: .8;
    display: block;
}

.forgot-pass:hover {
    opacity: 1;
}

/* ========== LOGIN END ========== */


/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .d-md-block {
        display: block;
    }

    .table-scroll {
        width: 100%;
        overflow: auto;
        display: block;
    }

    .table tbody tr td,
    .table thead tr th {
        width: 1%;
        white-space: nowrap;
    }

    .col-md-1{
        grid-template-columns: 1fr;
    }
    .col-md-2{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .top-bar>.logo {
        display: none;
    }

    .top-bar>.btn-menu {
        width: 50px;
        height: 100%;
        font-size: 20px;
        background-color: rgb(var(--color1));
        color: #fff;
        border: none;
        outline: none;
        transition: 200ms;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .top-bar>.btn-menu>* {
        pointer-events: none;
    }

    .sidebar {
        left: -100%;
        transition: 200ms;
        z-index: 9999;
    }

    .content {
        margin: 0px;
    }

    .row-sd-gap-0 {
        row-gap: 0px;
    }

    .col-sd-1 {
        grid-template-columns: 1fr;
    }

    .dropzone {
        grid-template-columns: 1fr;
    }
}

/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .d-esd-none{
        display: none;
    }
}