:root {
    color-scheme: dark;
    --atc-dark-bg: #050505;
    --atc-dark-surface: #101010;
    --atc-dark-surface-2: #181818;
    --atc-dark-surface-3: #222222;
    --atc-dark-line: #343434;
    --atc-dark-text: #dedede;
    --atc-dark-muted: #9b9b9b;
    --atc-dark-link: #7ab8ff;
}

html,
body {
    min-height: 100%;
    background: var(--atc-dark-bg) !important;
    color: var(--atc-dark-text) !important;
}

body,
main,
header,
.container,
.container-fluid,
.table-responsive {
    border-color: var(--atc-dark-line);
}

main {
    min-height: calc(100vh - 58px);
    background: var(--atc-dark-bg);
}

body a:not(.btn):not(.badge):not(.nav-link):not(.dropdown-item) {
    color: var(--atc-dark-link);
}

body a:not(.btn):not(.badge):not(.nav-link):not(.dropdown-item):hover {
    color: #a8d1ff;
}

.navbar.bg-dark {
    background: #090909 !important;
    border-bottom: 1px solid #292929;
}

.dropdown-menu {
    border-color: var(--atc-dark-line);
    background: #151515;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .55);
}

.dropdown-item,
.dropdown-item a {
    color: #d7d7d7 !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
    background: #292929;
    color: #fff !important;
}

.dropdown-divider {
    border-color: var(--atc-dark-line);
}

.card,
.card-header,
.card-footer,
.modal-content,
.modal-header,
.modal-footer,
.list-group-item,
.jumbotron,
.popover,
.toast,
.well,
.panel,
.tab-content,
.accordion,
.collapse.show {
    border-color: var(--atc-dark-line);
    background-color: var(--atc-dark-surface) !important;
    color: var(--atc-dark-text);
}

.card-header,
.card-footer,
.modal-header,
.modal-footer {
    background-color: var(--atc-dark-surface-2) !important;
}

.modal-backdrop.show {
    opacity: .78;
}

.modal-title,
.card-title,
.popover-header,
h1, h2, h3, h4, h5, h6,
label,
legend {
    color: #ededed;
}

.text-dark,
.text-body {
    color: #d8d8d8 !important;
}

.text-muted,
small,
.small {
    color: var(--atc-dark-muted) !important;
}

.close {
    color: #fff;
    text-shadow: none;
    opacity: .8;
}

.close:hover {
    color: #fff;
    opacity: 1;
}

.form-control,
.custom-select,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
    border-color: #444 !important;
    background-color: #171717 !important;
    color: #e7e7e7 !important;
}

.form-control:focus,
.custom-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #4f91d8 !important;
    background-color: #1d1d1d !important;
    color: #fff !important;
    box-shadow: 0 0 0 .2rem rgba(55, 125, 205, .22) !important;
}

.form-control:disabled,
.form-control[readonly],
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #242424 !important;
    color: #949494 !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #858585 !important;
    opacity: 1;
}

select option {
    background: #171717;
    color: #eee;
}

.input-group-text {
    border-color: #444;
    background: #272727;
    color: #ddd;
}

.custom-control-label::before {
    border-color: #555;
    background-color: #202020;
}

.btn-light,
.btn-outline-light {
    border-color: #505050;
    background-color: #292929;
    color: #ededed;
}

.btn-light:hover,
.btn-light:focus,
.btn-outline-light:hover,
.btn-outline-light:focus {
    border-color: #686868;
    background-color: #393939;
    color: #fff;
}

.badge-light {
    background: #303030;
    color: #f1f1f1;
}

.badge-secondary {
    background-color: #555;
}

.alert {
    border-color: #3b3b3b;
}

.alert-light,
.alert-secondary,
.alert-dark {
    background: #1b1b1b;
    color: #ddd;
}

.alert-info {
    border-color: #24546a;
    background: #102a36;
    color: #a8dff4;
}

.alert-success {
    border-color: #285c3c;
    background: #112b1b;
    color: #a8dfba;
}

.alert-warning {
    border-color: #715824;
    background: #33280e;
    color: #f3d98d;
}

.alert-danger {
    border-color: #743439;
    background: #351518;
    color: #f2acb1;
}

.table,
table.dataTable {
    border-color: var(--atc-dark-line) !important;
    background-color: #0e0e0e !important;
    color: #d8d8d8 !important;
}

.table th,
.table td,
table.dataTable th,
table.dataTable td {
    border-color: var(--atc-dark-line) !important;
    color: inherit;
}

.table thead th,
.table tfoot th,
table.dataTable thead th,
table.dataTable tfoot th {
    border-color: #3c3c3c !important;
    background-color: #181818;
    color: #ececec;
}

.table thead.thead-dark th,
.table tfoot.thead-dark th {
    background-color: #111 !important;
    color: #eee !important;
}

.table tbody tr,
table.dataTable tbody tr {
    background-color: #0f0f0f !important;
}

.table-striped tbody tr:nth-of-type(odd),
table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
    background-color: #171717 !important;
}

.table-hover tbody tr:hover,
.table-hover tbody tr:hover td,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: #262626 !important;
    color: #fff;
}

.table tbody td.bg-warning,
.table tbody th.bg-warning,
.table tbody td.bg-danger,
.table tbody th.bg-danger,
.table tbody td.bg-success,
.table tbody th.bg-success,
.table tbody td.bg-info,
.table tbody th.bg-info,
.table tbody td.bg-primary,
.table tbody th.bg-primary,
.table tbody td.bg-secondary,
.table tbody th.bg-secondary,
.table tbody tr.bg-warning,
.table tbody tr.bg-danger,
.table tbody tr.bg-success,
.table tbody tr.bg-info,
.table tbody tr.bg-primary,
.table tbody tr.bg-secondary {
    color: #fff !important;
}

#atc-transfer-list-table > thead.thead-dark > tr > th {
    border-color: #40566b !important;
    border-bottom-color: #4c7598 !important;
    background: #1a2b3a !important;
    color: #f0f5f8 !important;
}

#atc-transfer-list-table > tfoot.thead-dark > tr:first-child > th {
    border-color: #40566b !important;
    border-bottom-color: #4c7598 !important;
    background: #1a2b3a !important;
    color: #f0f5f8 !important;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th {
    border-top: 2px solid #4a555f !important;
    background: #191d21 !important;
    color: #e5e9ec !important;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th:nth-child(2) {
    border-top-color: #3d9a79 !important;
    background: #18342c !important;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th:nth-child(3) {
    border-top-color: #bd754b !important;
    background: #38271e !important;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th:nth-child(5) {
    border-top-color: #5687b8 !important;
    background: #1d3045 !important;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th > div:first-child {
    color: #bfc8cf;
    font-size: 9px;
    font-weight: 600;
}

#atc-transfer-list-table .atc-transfer-list-summary-row th > div:last-child {
    margin-top: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.dataTables_wrapper,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #c9c9c9 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #cfcfcf !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border-color: #555 !important;
    background: #292929 !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #777 !important;
}

.page-link {
    border-color: #444;
    background: #171717;
    color: var(--atc-dark-link);
}

.page-item.active .page-link,
.page-link:hover {
    border-color: #4d79a9;
    background: #254d77;
    color: #fff;
}

.page-item.disabled .page-link {
    border-color: #333;
    background: #111;
    color: #666;
}

.nav-tabs {
    border-color: var(--atc-dark-line);
}

.nav-tabs .nav-link {
    color: #aaa;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    border-color: #393939;
    color: #fff;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    border-color: #444 #444 #151515;
    background: #151515;
    color: #fff;
}

pre,
code,
.atc-wa-reminder-preview {
    border-color: #3b3b3b !important;
    background: #0c0c0c !important;
    color: #d6d6d6 !important;
}

hr {
    border-color: #333;
}

.popover-body {
    color: #ddd;
}

.popover-header {
    border-color: #383838;
    background: #202020;
}

.tooltip-inner {
    border: 1px solid #494949;
    background: #111;
    color: #fff;
}

/* Select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-dropdown,
.select2-search--dropdown .select2-search__field {
    border-color: #444 !important;
    background: #171717 !important;
    color: #eee !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-results__option {
    color: #ddd !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: #303030 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #285f9d !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-color: #555;
    background: #2b2b2b;
    color: #eee;
}

/* Date and time pickers */
.xdsoft_datetimepicker,
.datepicker,
.daterangepicker,
.ui-datepicker,
.ui-widget-content {
    border-color: #444 !important;
    background: #171717 !important;
    color: #ddd !important;
}

.xdsoft_datetimepicker .xdsoft_label,
.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_calendar th,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div,
.datepicker table tr td,
.datepicker table tr th,
.daterangepicker td,
.daterangepicker th,
.calendar-table {
    border-color: #383838 !important;
    background: #171717 !important;
    color: #ddd !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover,
.datepicker table tr td.day:hover,
.daterangepicker td.available:hover {
    background: #315f8d !important;
    color: #fff !important;
}

/* Sohbetler */
body .atc-chat-page-copy h1,
body .atc-chat-header-copy h2,
body .atc-template-header h2 {
    color: #ededed;
}

body .atc-chat-page-copy p,
body .atc-chat-header-copy p,
body .atc-chat-thread-phone,
body .atc-chat-thread-text,
body .atc-chat-thread-time,
body .atc-template-header p {
    color: #9da9ac;
}

body .atc-chat-app,
body .atc-chat-sidebar,
body .atc-chat-sidebar-top,
body .atc-chat-main,
body .atc-chat-main-header,
body .atc-chat-composer,
body .atc-chat-empty,
body .atc-template-dialog,
body .atc-template-header,
body .atc-template-fields,
body .atc-template-preview-wrap {
    border-color: #343b3d;
    background: #101314 !important;
    color: #dde3e4;
}

body .atc-chat-thread:hover,
body .atc-chat-thread:focus {
    background: #1c2728 !important;
}

body .atc-chat-thread.active {
    background: linear-gradient(135deg, #145d55 0%, #19776b 100%) !important;
}

body .atc-chat-conversation-top {
    border-color: #343b3d !important;
    background: #15191a !important;
    color: #dde3e4 !important;
    backdrop-filter: none;
}

body .atc-chat-contact-name {
    color: #f0f3f4 !important;
}

body .atc-chat-contact-meta,
body .atc-chat-mobile-phone,
body .atc-chat-contact-reservations-label,
body .atc-chat-contact-reservations-state,
body .atc-chat-contact-reservation-meta,
body .atc-chat-language-picker label {
    color: #9ba8ab !important;
}

body .atc-chat-contact-reservations {
    border-color: #394244 !important;
    background: #1b2021 !important;
    box-shadow: none !important;
}

body .atc-chat-contact-reservation-link {
    border-color: #3c4849 !important;
    background: #232a2b !important;
    color: #dce7e5 !important;
    box-shadow: none !important;
}

body .atc-chat-contact-reservation-link:hover,
body .atc-chat-contact-reservation-link:focus {
    border-color: #327c70 !important;
    background: #263c39 !important;
    color: #ffffff !important;
}

body .atc-chat-message.incoming .atc-chat-bubble,
body .atc-chat-reservations,
body .atc-chat-reservation-card,
body .atc-chat-composer textarea,
body .atc-template-preview {
    border-color: #3a4244 !important;
    background: #1a1e1f !important;
    color: #e0e5e6 !important;
}

body .atc-chat-message.outgoing .atc-chat-bubble {
    color: #fff;
}

/* Gmail */
body .atc-gmail-header h1,
body .atc-gmail-ai-head h2,
body .atc-gmail-thread-email {
    color: #e8ecee;
}

body .atc-gmail-app,
body .atc-gmail-sidebar,
body .atc-gmail-sidebar-top,
body .atc-gmail-main,
body .atc-gmail-ai,
body .atc-gmail-messages,
body .atc-gmail-composer,
body .atc-gmail-composer-actions,
body .atc-gmail-connection,
body .atc-gmail-ai-block {
    border-color: #343a3d;
    background: #111415 !important;
    color: #dbe0e2;
}

body .atc-gmail-thread:hover,
body .atc-gmail-thread:focus,
body .atc-gmail-thread.active {
    border-color: #3d615d;
    background: #1a2927 !important;
}

body .atc-gmail-message .atc-gmail-bubble,
body .atc-gmail-field,
body .atc-gmail-draft {
    border-color: #383f42 !important;
    background: #1a1e20 !important;
    color: #dce1e3 !important;
}

/* Online ziyaretçi */
body .atc-visitor-dashboard {
    --atc-ink: #e2e7ee;
    --atc-muted: #bac3cf;
    --atc-line: #333943;
    --atc-panel: #111318;
}

body .atc-visitor-stat,
body .atc-visitor-usage-card,
body .atc-visitor-panel,
body .atc-visitor-panel-header,
body .atc-visitor-technical-header,
body .history-preview-panel,
body .atc-visitor-modal .modal-content {
    border-color: #333943;
    background: #111318 !important;
    color: #dce2ea !important;
}

body .atc-visitor-table-wrap,
body .atc-visitor-dashboard .visitor-table,
body .atc-visitor-dashboard .visitor-table thead th,
body .atc-visitor-dashboard .visitor-table td,
body .atc-visitor-dashboard .visitor-table tbody tr:hover td,
body .atc-visitor-dashboard .visitor-table tbody tr.table-light td,
body .atc-visitor-dashboard .slot-held td,
body .atc-visitor-dashboard .slot-empty td,
body .atc-gmail-output pre {
    border-color: #303640 !important;
    background: #15181e !important;
    color: #cfd6df !important;
}

body .atc-visitor-dashboard .page-chip {
    border-color: #35465e;
    background: #172131;
    color: #8dbbff;
}

body .atc-visitor-page-header p,
body .atc-visitor-stat-label,
body .atc-visitor-stat small,
body .atc-visitor-usage-content > span,
body .atc-visitor-usage-content small,
body .atc-visitor-panel-header p,
body .atc-visitor-technical-header p,
body .atc-visitor-dashboard .small-text,
body .atc-visitor-dashboard .micro,
body .atc-visitor-dashboard .referrer-text,
body .atc-visitor-dashboard .slot-placeholder,
body .history-preview-header,
body .atc-visitor-dashboard .log-entry .ts,
body .atc-gmail-output label {
    color: #bac3cf !important;
}

body .atc-visitor-dashboard .slot-held td,
body .atc-visitor-dashboard .slot-empty td {
    opacity: 1;
}

body .atc-visitor-panel .sort-toggle .btn:not(.active) {
    color: #c0c8d3 !important;
}

/* WhatsApp fiyat ekranı */
body .wa-prices-dashboard {
    --wa-ink: #dfe5ed;
    --wa-muted: #99a3b3;
    --wa-line: #343a44;
}

body .wa-summary-grid article,
body .wa-panel,
body .wa-quality-note,
body .wa-reconnect-panel,
body .wa-recent-dialog,
body .wa-recent-header,
body .wa-raw-card,
body .wa-group-option {
    border-color: #343a44;
    background: #121419 !important;
    color: #dce2ea;
}

body .wa-hour-table thead th,
body .wa-details-table thead th,
body .wa-empty-period td {
    border-color: #343a44;
    background: #181b21 !important;
    color: #aeb8c7;
}

body .wa-hour-table,
body .wa-details-table,
body .wa-hour-table td:first-child strong,
body .wa-details-table td strong,
body .wa-recent-header h2,
body .wa-raw-meta-main strong,
body .wa-raw-text {
    color: #dce2ea;
}

/* Login */
.form-signin {
    color: #ddd;
}

.form-signin .form-label-group label {
    color: #999;
}

* {
    scrollbar-color: #555 #111;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: #101010;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #101010;
    border-radius: 8px;
    background: #555;
}

::-webkit-scrollbar-thumb:hover {
    background: #707070;
}

/* Sayfa içindeki özel yönetim bileşenleri */
.bg-white,
.bg-light,
.table-light,
.list-group-item-light {
    background-color: #151515 !important;
    color: #ddd !important;
}

.mesaj-icerik-kutu,
.bayii-metric,
.bayii-table-wrap,
.seo-panel-shell,
.seo-panel-card,
#urlList2,
#urlListBox,
#pageListBox {
    border-color: #383838 !important;
    background: #131313 !important;
    color: #ddd !important;
    box-shadow: none !important;
}

.bayii-row-passive td,
#pageListBox tr:nth-child(even),
#pageListBox th {
    border-color: #383838 !important;
    background: #1b1b1b !important;
    color: #ccc !important;
}

.bayii-subtitle,
.bayii-muted,
.seo-inline-muted {
    color: #999 !important;
}

.seo-title-main,
.seo-title-sub {
    color: #e5e5e5 !important;
}

.price-matrix-scroll,
.price-matrix-table,
.price-matrix-table th,
.price-matrix-table td {
    border-color: #383838 !important;
    background: #111 !important;
    color: #ddd !important;
}

.price-matrix-table .price-matrix-corner,
.price-matrix-table .price-matrix-col-header,
.price-matrix-table .price-matrix-row-header {
    background: #202020 !important;
    color: #fff !important;
}

.price-matrix-table td.price-matrix-path-active {
    background: #302b19 !important;
}

.price-matrix-table td.price-matrix-empty-cell {
    border-color: #292929 !important;
    background: #252525 !important;
}

.price-matrix-table td.price-matrix-cell-active {
    background: #4a3b13 !important;
    color: #fff !important;
}

.price-matrix-table td.price-matrix-cell-active .price-matrix-input {
    border-color: #c99918 !important;
    background: #2c260f !important;
    color: #fff !important;
}

body .atc-template-footer,
body .atc-template-phone-preview,
body .atc-chat-reservation-strip,
body .atc-chat-search input,
body .atc-chat-thread-language,
body .atc-chat-media-menu,
body .atc-chat-media-item {
    border-color: #3a4244 !important;
    background: #171b1c !important;
    color: #dce2e3 !important;
}

body .atc-gmail-search input,
body .atc-gmail-bubble-body.email-html,
body .atc-gmail-attachment,
body .atc-gmail-translation,
body .atc-gmail-empty {
    border-color: #383f42 !important;
    background: #171b1d !important;
    color: #dce1e3 !important;
}

@media (max-width: 767.98px) {
    body .atc-chat-app,
    body .atc-chat-sidebar,
    body .atc-chat-sidebar-top,
    body .atc-chat-main,
    body .atc-chat-messages,
    body .atc-chat-composer {
        background-color: #101314 !important;
    }

    body .atc-chat-contact-reservations {
        background: transparent !important;
    }

    body .atc-chat-back {
        color: #dce3e4 !important;
    }

    body .atc-chat-contact-reservation-link {
        border-color: #31504b !important;
        background: #1d302d !important;
    }
}
