/* Theme selection remains independent of the service and printing scripts. */
.theme-picker{display:flex;align-items:center;gap:7px;margin-left:10px;white-space:nowrap}
.theme-picker label{font-size:11px;font-weight:400;margin:0;color:inherit}
.theme-picker select{height:34px;max-width:90px;padding:5px 8px;background:#f4f7f9;color:#193247;border:1px solid #dfe7ed;border-radius:6px;cursor:pointer}
.theme-picker select:focus-visible{outline:3px solid #75cfbf;outline-offset:2px}
@media(max-width:600px){.app-header{height:auto;min-height:83px;flex-wrap:wrap;gap:10px;padding-top:12px;padding-bottom:12px}.header-user{gap:7px;margin-left:auto}.theme-picker{margin-left:0}.theme-picker label{font-size:10px}.header-user button{margin-left:0;padding:7px 9px}.app-brand{min-width:0}.app-brand strong{overflow-wrap:anywhere}}
@media screen{
html[data-theme="dark"]{color-scheme:dark;--ink:#e5edf5;--muted:#a7b7c8;--line:#35465a;--teal:#58c8b1;--navy:#d7e6f4;background:#111923}
html[data-theme="dark"] body{background:#111923;color:var(--ink)}
html[data-theme="dark"] .app-header,html[data-theme="dark"] .process-row,html[data-theme="dark"] .panel,html[data-theme="dark"] .well,html[data-theme="dark"] .summary-card,html[data-theme="dark"] .modal-content{background:#1b2735;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .panel-heading,html[data-theme="dark"] .modal-header{background:#202e3e!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme="dark"] .header-user{color:var(--muted)}
html[data-theme="dark"] .header-user button,html[data-theme="dark"] .theme-picker select{background:#26374a;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .app-brand img,html[data-theme="dark"] .brand-preview img,html[data-theme="dark"] .avatar img{background:#fff;border-radius:6px;padding:4px}
html[data-theme="dark"] .table{background:#1b2735;color:var(--ink)}
html[data-theme="dark"] .table>thead>tr>th{background:#26374a;color:#c3d2e1;border-color:var(--line)}
html[data-theme="dark"] .table>tbody>tr>td,html[data-theme="dark"] .table>tbody>tr>th,html[data-theme="dark"] .table>tfoot>tr>td{border-color:var(--line)}
html[data-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd){background:#202e3e}
html[data-theme="dark"] .table-hover>tbody>tr:hover{background:#2b3d51}
html[data-theme="dark"] .table tr[style*="F0EC92"]{background:#494126!important}
html[data-theme="dark"] .table tr[style*="D0E7D5"]{background:#23483e!important}
html[data-theme="dark"] .table tr.success>td{background:#23483e;color:#d3f4e6}
html[data-theme="dark"] .table tr.warning>td{background:#494126;color:#ffe8ab}
html[data-theme="dark"] .table tr.danger>td{background:#4d2d37;color:#ffd3d7}
html[data-theme="dark"] .table tr.info>td{background:#243f55;color:#d4eaff}
html[data-theme="dark"] .form-control,html[data-theme="dark"] .login-form input,html[data-theme="dark"] .input-group-addon{background:#152131;color:var(--ink);border-color:#45596e}
html[data-theme="dark"] .form-control::placeholder,html[data-theme="dark"] .login-form input::placeholder{color:#99adc1;opacity:1}
html[data-theme="dark"] .form-control:focus,html[data-theme="dark"] .login-form input:focus{border-color:#58c8b1;box-shadow:0 0 0 3px #58c8b126}
html[data-theme="dark"] .form-control[readonly],html[data-theme="dark"] .form-control[disabled],html[data-theme="dark"] fieldset[disabled] .form-control{background:#293747;color:#b4c2d1}
html[data-theme="dark"] .btn-default{background:#2b3d51;color:#e5edf5;border-color:#45596e}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .btn-success{background:#207e6c;color:#fff;border-color:#389e88}
html[data-theme="dark"] .btn-primary:hover,html[data-theme="dark"] .btn-success:hover{background:#286d60}
html[data-theme="dark"] .btn-info{background:#294354;color:#d1eaff;border-color:#476476}
html[data-theme="dark"] .btn-warning{background:#4a3c20;color:#ffe09d;border-color:#796538}
html[data-theme="dark"] .btn-danger{background:#4d2d37;color:#ffc8ce;border-color:#7b4655}
html[data-theme="dark"] .process-step:has(a.btn-primary){background:#23483e}
html[data-theme="dark"] .process-step i{color:#b1c3d4}
html[data-theme="dark"] .process-step:has(a.btn-primary) i,html[data-theme="dark"] .quick-actions i{color:#72ddc5}
html[data-theme="dark"] .summary-card i,html[data-theme="dark"] .status-done{background:#23483e;color:#8de7cd}
html[data-theme="dark"] .status-open{background:#494126;color:#ffe09d}
html[data-theme="dark"] .summary-card p,html[data-theme="dark"] .text-muted,html[data-theme="dark"] .help-block{color:var(--muted)}
html[data-theme="dark"] .brand-settings{background:#202e3e;border-color:var(--line)}
html[data-theme="dark"] .brand-preview{background:#26374a;border-color:#586d83}
html[data-theme="dark"] .modal-footer,html[data-theme="dark"] hr,html[data-theme="dark"] .page-header{border-color:var(--line)}
html[data-theme="dark"] .close{color:#fff;text-shadow:none;opacity:.8}
html[data-theme="dark"] a:not(.btn):not(.summary-card):not(.app-brand):not(.quick-actions a){color:#8ddccf}
html[data-theme="dark"] .quick-actions a,html[data-theme="dark"] .summary-card{color:var(--ink)}
html[data-theme="dark"] .dropdown-menu,html[data-theme="dark"] .popover,html[data-theme="dark"] .datepicker,html[data-theme="dark"] .ui-autocomplete,html[data-theme="dark"] .ui-widget-content{background:#202e3e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .dropdown-menu>li>a{color:var(--ink)!important}
html[data-theme="dark"] .dropdown-menu>li>a:hover,html[data-theme="dark"] .dropdown-menu>.active>a,html[data-theme="dark"] .datepicker table tr td.day:hover,html[data-theme="dark"] .datepicker table tr td span:hover,html[data-theme="dark"] .datepicker thead tr:first-child th:hover{background:#365269;color:#fff!important}
html[data-theme="dark"] .datepicker .disabled,html[data-theme="dark"] .datepicker .old,html[data-theme="dark"] .datepicker .new{color:#91a0b0}
html[data-theme="dark"] .popover-title{background:#26374a;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .pagination>li>a,html[data-theme="dark"] .pagination>li>span{background:#26374a;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .pagination>.active>a{background:#207e6c;color:#fff}
html[data-theme="dark"] .nav-tabs{border-color:var(--line)}
html[data-theme="dark"] .nav-tabs>li.active>a{background:#26374a;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .list-group-item,html[data-theme="dark"] pre{background:#202e3e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] font[color="red"],html[data-theme="dark"] .text-danger,html[data-theme="dark"] .service-note{color:#ffaca9}
html[data-theme="dark"] font[color="blue"],html[data-theme="dark"] .text-info{color:#9dcfff}
html[data-theme="dark"] .alert-success{background:#23483e;color:#d3f4e6;border-color:#389e88}
html[data-theme="dark"] .alert-warning{background:#494126;color:#ffe8ab;border-color:#796538}
html[data-theme="dark"] .alert-danger{background:#4d2d37;color:#ffd3d7;border-color:#7b4655}
html[data-theme="dark"] .alert-info{background:#243f55;color:#d4eaff;border-color:#476476}
html[data-theme="dark"] .login-entry{background:#1b2735}
html[data-theme="dark"] .login-intro,html[data-theme="dark"] .login-help,html[data-theme="dark"] .login-credit{color:#a7b7c8}
html[data-theme="dark"] .password-toggle{color:#8ddccf}
}
/* Legacy Bootstrap paints striped table CELLS; inherit the dark row surface. */
@media screen{
html[data-theme="dark"] .table>tbody>tr{background-color:#1b2735}
html[data-theme="dark"] .table-striped>tbody>tr:nth-child(odd){background-color:#202e3e}
html[data-theme="dark"] .table-hover>tbody>tr:hover{background-color:#2b3d51}
html[data-theme="dark"] .table>tbody>tr>td,html[data-theme="dark"] .table>tbody>tr>th,html[data-theme="dark"] .table>tfoot>tr>td,html[data-theme="dark"] .table>tfoot>tr>th{background-color:inherit!important;color:#e5edf5}
html[data-theme="dark"] .table>tbody>tr.success,html[data-theme="dark"] .bg-success{background-color:#23483e!important;color:#d3f4e6!important}
html[data-theme="dark"] .table>tbody>tr.info,html[data-theme="dark"] .bg-info{background-color:#243f55!important;color:#d4eaff!important}
html[data-theme="dark"] .table>tbody>tr.warning,html[data-theme="dark"] .bg-warning{background-color:#494126!important;color:#ffe8ab!important}
html[data-theme="dark"] .table>tbody>tr.danger,html[data-theme="dark"] .bg-danger{background-color:#4d2d37!important;color:#ffd3d7!important}
html[data-theme="dark"] .bg-primary{background-color:#244f6c!important;color:#e5edf5!important}
html[data-theme="dark"] .table td.bg-success,html[data-theme="dark"] .table th.bg-success{background-color:#23483e!important}
html[data-theme="dark"] .table td.bg-info,html[data-theme="dark"] .table th.bg-info{background-color:#243f55!important}
html[data-theme="dark"] .table td.bg-warning,html[data-theme="dark"] .table th.bg-warning{background-color:#494126!important}
html[data-theme="dark"] .table td.bg-danger,html[data-theme="dark"] .table th.bg-danger{background-color:#4d2d37!important}
html[data-theme="dark"] .input-group-addon{background:#26374a!important;color:#e5edf5!important;border-color:#45596e!important}
html[data-theme="dark"] .input-group-addon[style*="E0F0B6"],html[data-theme="dark"] .input-group-addon[style*="rgb(224, 240, 182)"]{background:#23483e!important;color:#d3f4e6!important}
html[data-theme="dark"] .input-group-addon[style*="fbb8b6"],html[data-theme="dark"] .input-group-addon[style*="rgb(251, 184, 182)"]{background:#4d2d37!important;color:#ffd3d7!important}
html[data-theme="dark"] .musteri_form div[style*="background: #ddd"],html[data-theme="dark"] .musteri_form div[style*="background:#ddd"]{background:#26374a!important;color:#e5edf5!important;border-radius:4px;padding-top:4px;padding-bottom:4px}
html[data-theme="dark"] .table input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),html[data-theme="dark"] .table select,html[data-theme="dark"] .table textarea,html[data-theme="dark"] .input-group input,html[data-theme="dark"] .odeme_form input:not([type="checkbox"]):not([type="radio"]){background-color:#152131!important;color:#e5edf5!important;border-color:#45596e!important}
html[data-theme="dark"] .table input.para[readonly]{background-color:transparent!important;color:#e5edf5!important}
html[data-theme="dark"] [style*="color:blue"],html[data-theme="dark"] [style*="color: blue"],html[data-theme="dark"] [style*="color:#BA2BF1"]{color:#a9ccff!important}
html[data-theme="dark"] [style*="color:red"],html[data-theme="dark"] [style*="color: red"]{color:#ffaca9!important}
html[data-theme="dark"] [style*="color:#00C23E"],html[data-theme="dark"] [style*="color:#168776"]{color:#8de7cd!important}
html[data-theme="dark"] .tarih_bilgi span{color:#e5edf5}
html[data-theme="dark"] .text-success{color:#8de7cd!important}
html[data-theme="dark"] .text-warning{color:#ffe09d!important}
html[data-theme="dark"] .label-success{background-color:#276344;color:#fff}
html[data-theme="dark"] .label-info{background-color:#28607a;color:#fff}
html[data-theme="dark"] .label-warning{background-color:#735a24;color:#fff}
}
