/* agvmail.com — Elastic webmail: giris/register ile ayni koyu palet */

html.dark-mode body {
  color: #d2d0ce;
  background: #0f1012;
  background-image: linear-gradient(152deg, #1c2433 0%, #12161f 38%, #0a0c12 72%, #0f1012 100%);
}

html.dark-mode #layout-sidebar,
html.dark-mode #layout-list {
  background-color: #1a1a1a !important;
}

/* Sag onizleme: soldan bir tik acik, notr gri */
html.dark-mode #layout-content {
  background-color: #242424 !important;
}

html.dark-mode #layout-content > .header,
html.dark-mode #layout-content > .footer {
  background-color: #2a2a2a !important;
}

html.dark-mode #layout-content #messagecontframe,
html.dark-mode #layout-content .iframe-wrapper,
html.dark-mode #layout-content .content-frame {
  background-color: #242424 !important;
}

html.dark-mode #layout > div > .header,
html.dark-mode #layout > div > .footer,
html.dark-mode .menu.pagenav.pagenav-list {
  background-color: #2f2f2f !important;
  border-color: #3d3d3d !important;
  color: #d2d0ce !important;
}

html.dark-mode #layout-list,
html.dark-mode #layout-content,
html.dark-mode #layout-sidebar,
html.dark-mode #layout > div > .header,
html.dark-mode #layout > div > .footer,
html.dark-mode .menu.pagenav.pagenav-list,
html.dark-mode .menu.pagenav.pagenav-list + .navlist {
  border-color: #3d3d3d !important;
}

html.dark-mode #layout-menu {
  background: #1f1f1f !important;
  border-color: #3d3d3d !important;
}

html.dark-mode #layout-menu .special-buttons a:not(:focus) {
  background: #1f1f1f !important;
}

html.dark-mode.layout-phone #layout-menu,
html.dark-mode .popover {
  background: #2f2f2f !important;
  border-color: #3d3d3d !important;
}

html.dark-mode .searchbar {
  background-color: #1f1f1f !important;
  border-color: #8a8886 !important;
}

html.dark-mode .searchbar input {
  background: transparent !important;
  color: #fff !important;
}

html.dark-mode .listing li,
html.dark-mode .listing tbody td,
html.dark-mode .listing li a,
html.dark-mode .messagelist {
  color: #d2d0ce !important;
  border-color: #333 !important;
}

html.dark-mode .listing li.selected,
html.dark-mode .listing li.selected > a,
html.dark-mode .listing li.selected > div > a,
html.dark-mode .listing tr.selected td,
html.dark-mode .folderlist li.mailbox.selected > a {
  background-color: #1e3a56 !important;
  color: #fff !important;
}

html.dark-mode #taskmenu a:hover,
html.dark-mode .menu a:not(.disabled):hover,
html.dark-mode .header a.button.icon:not(.disabled):hover,
html.dark-mode .popupmenu .listing li > a:not(.disabled):hover {
  background-color: #2a3f52 !important;
}

html.dark-mode #taskmenu a.selected {
  background-color: #1e3a56 !important;
}

html.dark-mode #taskmenu .action-buttons a,
html.dark-mode a {
  color: #7cb4ea;
}

html.dark-mode #taskmenu a,
html.dark-mode .menu.toolbar a {
  color: #d2d0ce !important;
}

html.dark-mode .menu.toolbar a.selected {
  color: #7cb4ea !important;
}

html.dark-mode .btn-primary,
html.dark-mode button.btn-primary {
  background-color: #0067b8 !important;
  border-color: #0067b8 !important;
  color: #fff !important;
}

html.dark-mode .btn-primary:hover:not(:disabled),
html.dark-mode button.btn-primary:hover:not(:disabled) {
  background-color: #005a9e !important;
  border-color: #005a9e !important;
}

html.dark-mode .form-control,
html.dark-mode input.form-control,
html.dark-mode select.form-control,
html.dark-mode textarea.form-control,
html.dark-mode .proplist input,
html.dark-mode .propform input:not([type="checkbox"]):not([type="radio"]),
html.dark-mode .propform select,
html.dark-mode .propform textarea {
  background-color: #1f1f1f !important;
  border-color: #8a8886 !important;
  color: #fff !important;
}

html.dark-mode .form-control:focus,
html.dark-mode .propform input:focus,
html.dark-mode .propform select:focus,
html.dark-mode .propform textarea:focus {
  border-color: #fff !important;
  box-shadow: inset 0 0 0 1px #fff !important;
}

html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.date,
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.fromto,
html.dark-mode .messagelist tr:not(.flagged):not(.deleted) td.subject span.size,
html.dark-mode .listing span.secondary,
html.dark-mode ::placeholder {
  color: #a19f9d !important;
}

html.dark-mode .folderlist li.mailbox .unreadcount {
  background-color: #0067b8 !important;
  color: #fff !important;
}

html.dark-mode .quota-widget .bar {
  background-color: #3d3d3d !important;
  border-color: #8a8886 !important;
}

html.dark-mode .quota-widget .value {
  color: #7cb4ea !important;
}

html.dark-mode .popover,
html.dark-mode .ui-menu,
html.dark-mode .ui-dialog .ui-widget-content {
  background-color: #2f2f2f !important;
  border-color: #3d3d3d !important;
  color: #d2d0ce !important;
}

html.dark-mode .message-partheaders,
html.dark-mode .attachmentslist {
  background-color: #252525 !important;
  border-color: #3d3d3d !important;
}

html.dark-mode #message-header .header-headers .header-title {
  color: #fff !important;
}

html.dark-mode .iframe-loader {
  background-color: rgba(15, 16, 18, 0.92) !important;
}

html.dark-mode #taskmenu a.logout,
html.dark-mode #layout-menu .special-buttons a.logout {
  color: #f1707b !important;
}

html.dark-mode .table td,
html.dark-mode .table th {
  border-color: #3d3d3d !important;
}

html.dark-mode .nav-tabs .nav-link.active {
  background: #2f2f2f !important;
  color: #fff !important;
  border-color: #3d3d3d !important;
}
