﻿/* EZD Modern 1.0 — loaded after the existing gray theme. No external resources. */
body.ezd-app,body.ezd-login{--ezd-navy:#17243e;--ezd-blue:#255bea;--ezd-line:#e4eaf2;--ezd-muted:#697991;--ezd-bg:#f3f5f9;background:var(--ezd-bg)!important;color:#24324b;height:auto;min-height:100vh;font:14px/1.5 "Segoe UI",Arial,sans-serif;margin:0}
.ezd-app *, .ezd-login *{box-sizing:border-box}
.ezd-app :is(td,th,div,p,label,input,select,textarea),.ezd-login :is(div,p,label,input){font-family:"Segoe UI",Arial,sans-serif}
.ezd-app a{color:var(--ezd-blue)}
.ezd-app :focus-visible,.ezd-login :focus-visible{outline:3px solid #88acff;outline-offset:3px}
.ezd-app .ezd-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:100vh}
.ezd-app .ezd-sidebar{background:var(--ezd-navy);color:#b9c6df;padding:26px 16px;display:flex;flex-direction:column;gap:25px}
.ezd-app .ezd-brand{display:block;color:#fff;font-size:29px;font-weight:600;letter-spacing:1px;text-decoration:none}
.ezd-app .ezd-brand small{display:block;color:#b9c6df;font-size:12px;font-weight:400;letter-spacing:0;margin-top:3px}
.ezd-app .ezd-nav-label{font-size:11px;letter-spacing:1px;color:#9baecf;padding:0 12px;margin-bottom:10px}
.ezd-app #header,.ezd-app .header_bottom,.ezd-app .header_main,.ezd-app .inside{width:auto;height:auto;float:none;background:none;padding:0;margin:0;line-height:inherit}
.ezd-app #main-nav{list-style:none;display:grid;gap:7px;width:auto;margin:0;padding:0;float:none}
.ezd-app #main-nav li{display:block;float:none;width:auto;height:auto;margin:0;padding:0;background:none;list-style:none}
.ezd-app #main-nav li a,.ezd-app #main-nav li a span{background:none;float:none;width:auto;height:auto;color:inherit;line-height:1.5;font-size:14px}
.ezd-app #main-nav li a{display:flex;align-items:center;gap:10px;color:#c1cee5;border-radius:8px;padding:11px 12px;text-decoration:none}
.ezd-app #main-nav li a::before{content:"";display:block;width:8px;height:8px;flex:0 0 8px;border:1px solid currentColor;border-radius:2px;opacity:.8}
.ezd-app #main-nav li a span{display:block;padding:0;margin:0}
.ezd-app #main-nav li a.current,.ezd-app #main-nav li a[aria-current=page]{background:#30415f;color:#fff}
.ezd-app #main-nav li a:hover{background:#243550;color:#fff}
.ezd-app .ezd-sidebar-footer{margin-top:auto;padding:18px 12px 0;border-top:1px solid #34415a;font-size:12px;color:#a6b7d1}
.ezd-app .ezd-sidebar-footer a{color:#fff;font-weight:600;display:block;margin-bottom:4px}
.ezd-app .ezd-workspace{min-width:0;display:flex;flex-direction:column}
.ezd-app .ezd-toolbar{padding:16px 28px;background:#fff;border-bottom:1px solid var(--ezd-line);display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:65px;flex-wrap:wrap}
.ezd-app .ezd-toolbar-title{font-size:13px;color:var(--ezd-muted)}
.ezd-app .divprofil,.ezd-app .txtprofil{float:none;width:auto;height:auto;line-height:1.5;color:#53637c;font-size:13px}
.ezd-app .txtprofil{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.ezd-app .txtprofil a,.ezd-app .txtprofil a:hover{color:#255bea}
.ezd-app .txtprofil span.tekst_pro{float:none;display:block}
.ezd-app .log_out{background:none!important;float:none;width:auto;height:auto;margin:0;padding:7px 10px;border:1px solid var(--ezd-line);border-radius:6px;font-size:12px;order:2}
.ezd-app a.profil{display:none}
.ezd-app .content{background:transparent;padding:28px;min-width:0;width:100%;height:auto;flex:1}
.ezd-app .ezd-pageheading{margin-bottom:22px}
.ezd-app .ezd-pageheading h1{font-size:27px;line-height:1.2;font-weight:600;letter-spacing:-.5px;margin:0 0 7px;color:#24324b;background:none;padding:0;text-align:left}
.ezd-app .ezd-pageheading p{font-size:13px;color:var(--ezd-muted);margin:0}
.ezd-app h2{font-size:18px;line-height:1.4;font-weight:600;text-align:left;background:transparent;padding:0;margin:20px 0 14px;color:#24324b}
.ezd-app h3{font-size:16px;color:#34435c}
.ezd-app table.tabelGrid{background:#fff;border:0!important;border-collapse:separate!important;border-spacing:0;width:100%;margin:0 0 20px;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px var(--ezd-line);font-size:13px}
.ezd-app table.tabelGrid th,.ezd-app table.tabelGrid .naglw1 th{background:#f7f9fc!important;color:#65738b;border:0!important;border-bottom:1px solid var(--ezd-line)!important;padding:12px 14px;line-height:1.5;font-size:12px;font-weight:600;text-align:left}
.ezd-app table.tabelGrid td{background:transparent;color:#34435c;border:0!important;border-bottom:1px solid #edf0f5!important;padding:12px 14px;line-height:1.5;font-size:13px}
.ezd-app table.tabelGrid .tab1,.ezd-app table.tabelGrid .tab2{background:#fff;color:inherit}
.ezd-app table.tabelGrid .tab1:hover,.ezd-app table.tabelGrid .tab2:hover{background:#f7faff}
.ezd-app table.tabelGrid .tabSelect{background:#edf3ff}
.ezd-app table.tabelGrid tr:last-child>td{border-bottom:0!important}
.ezd-app table.tabelGrid td table{box-shadow:none;margin:0}
.ezd-app .ezd-table-scroll{max-width:100%;overflow-x:auto;border-radius:10px;margin-bottom:20px;padding:1px}
.ezd-app .ezd-table-scroll>table.tabelGrid{margin-bottom:0;min-width:760px}
.ezd-app .ezd-data-grid td{vertical-align:middle}
.ezd-app .ezd-data-grid a:not(.zaloguj){font-weight:600}
.ezd-app .ezd-data-grid td.ezd-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ezd-app .ezd-ksef-id{font-size:11px;overflow-wrap:anywhere;min-width:130px;max-width:230px;color:#697991}
.ezd-app :is(input[type=text],input[type=password],input[type=date],input[type=number],select,textarea){background:#fff;color:#34435c;border:1px solid #dce3ed;border-radius:6px;padding:9px 11px;font-size:14px;line-height:1.4;margin:3px;max-width:100%}
.ezd-app .content :is(input[type=text],select,textarea){font-size:14px!important;padding:9px 11px!important}
.ezd-app .content input[type=text]{height:auto;min-height:39px}
.ezd-app .content select{height:auto;min-height:39px}
.ezd-app .content textarea{height:auto;min-height:90px;width:100%;resize:vertical}
.ezd-app .ezd-filterbar td{padding:18px!important}
.ezd-app .ezd-filterbar :is(input[type=text],select){float:none!important;width:190px!important;vertical-align:middle;margin:4px!important}
.ezd-app .ezd-filterbar input[id$=TextBoxSzukaj]{width:260px!important}
.ezd-app .ezd-filterbar input[id$=DataOd],.ezd-app .ezd-filterbar input[id$=DataDo]{width:150px!important}
.ezd-app :is(a.zaloguj,input[type=submit],input[type=button],button.ezd-button){display:inline-flex;align-items:center;justify-content:center;background:#255bea!important;color:#fff!important;border:1px solid #255bea;border-radius:6px;padding:9px 14px!important;font-size:13px!important;line-height:1.4;min-height:39px;margin:4px;float:none;text-decoration:none;cursor:pointer;vertical-align:middle;white-space:normal;height:auto;width:auto}
.ezd-app a.zaloguj:hover,.ezd-app input[type=submit]:hover{background:#1947c8!important}
.ezd-app a.zaloguj[id$=Anuluj]{background:#fff!important;color:#53637c!important;border-color:#dce3ed}
.ezd-app .chosen-container{max-width:100%;font-size:14px;float:none!important;vertical-align:middle;margin:4px!important}
.ezd-app .chosen-container-single .chosen-single{height:39px;line-height:37px;border:1px solid #dce3ed;border-radius:6px;background:#fff;box-shadow:none;color:#34435c}
.ezd-app .chosen-container-single .chosen-single div b{background-position:0 10px}
.ezd-app .chosen-container .chosen-results li.highlighted{background:#255bea;color:#fff}
.ezd-app .chosen-container .chosen-drop{border-color:#dce3ed;box-shadow:0 4px 16px #17243e18}
.ezd-app .ezd-status{border-radius:6px;background-color:#f0f3f8;color:#4e627d}
.ezd-app .ezd-status-pending{background-color:#fff3db;color:#845708}
.ezd-app .ezd-status-accepted{background-color:#e6f5ed;color:#23744b}
.ezd-app .ezd-status-posted{background-color:#e9efff;color:#365eae}
.ezd-app .ezd-status-rejected{background-color:#fdecec;color:#a43e3e}
.ezd-app .ezd-status-label{display:inline-block;padding:4px 8px;border-radius:6px;font-size:12px}
.ezd-app .ezd-document-actions td{font-size:14px!important;text-align:left!important;vertical-align:top}
.ezd-app .ezd-document-actions select{width:100%!important;min-width:140px;max-width:320px}
.ezd-app .ksef-wrapper{background:#fff;border:1px solid var(--ezd-line)!important;border-radius:10px;padding:25px;max-width:1100px;color:#34435c;font-family:"Segoe UI",Arial,sans-serif;overflow-wrap:anywhere}
.ezd-app .ksef-sys-header{background:#edf3ff;border-radius:7px;padding:15px;gap:15px;flex-wrap:wrap}
.ezd-app .invoice-type-banner{background:#f3f5f9;border-radius:6px;padding:10px;margin:15px 0}
.ezd-app .party-column h2{border-bottom:1px solid #dce3ed;padding-bottom:8px;color:#65738b;font-size:13px}
.ezd-app .parties-grid{gap:24px}
.ezd-app .items-table :is(td,th),.ezd-app .vat-table :is(td,th){border:1px solid #e4eaf2!important;padding:10px;font-size:12px}
.ezd-app .items-table th,.ezd-app .vat-table th{background:#f7f9fc!important;color:#65738b}
.ezd-app .grand-total{border:0;background:#edf3ff;border-radius:6px;padding:16px;color:#255bea}
.ezd-app .invoice-footer{border-top:1px solid #dce3ed;gap:20px;flex-wrap:wrap}
.ezd-app .menu_center{text-align:left}
.ezd-app .menu_center ul{display:flex;flex-wrap:wrap;gap:16px;padding:0;margin:0;list-style:none}
.ezd-app .menu_center ul li{margin:0;display:block;list-style:none}
.ezd-app .menu_center ul li a{display:flex;flex-direction:column;justify-content:center;background:#fff!important;color:#34435c;width:200px;min-height:110px;height:auto;padding:22px;border:1px solid var(--ezd-line);border-radius:10px;float:none;margin:0}
.ezd-app .menu_center ul li a:hover{border-color:#88acff;background:#f8faff!important}
.ezd-app .menu_center ul li a span{display:none}
.ezd-app .menu_center ul li a p{font-size:16px;padding:0;margin:0}
.ezd-app #footer{background:transparent;width:auto;height:auto;float:none;position:static;padding:16px 28px;border-top:1px solid var(--ezd-line);display:flex;gap:8px;flex-wrap:wrap;color:#7c899f;font-size:12px;line-height:1.5}
.ezd-app #footer :is(.copy,.power,.globoit){float:none;position:static;margin:0;font-size:12px;height:auto;line-height:1.5;background:none;width:auto;padding:0}
.ezd-app #footer .power{margin-left:auto}
.ezd-app #footer .globoit::after{content:"GLOBO IT";font-weight:600}
.ezd-app .ezd-skip{position:absolute;top:-100px;left:12px;background:white;padding:10px;z-index:10000}
.ezd-app .ezd-skip:focus{top:10px}
.ezd-app #jquery-overlay{background:#17243e88}
.ezd-app #lightbox-container-loding{border-radius:10px;background:white;padding:20px}
.ezd-login form{min-height:100vh;padding:55px 20px}
.ezd-login .header_middle{width:auto;height:auto;margin:0 auto 25px;text-align:center}
.ezd-login .logo1 h1{width:auto;padding:0;margin:0;font-size:20px}
.ezd-login .logo1 img{max-width:220px;max-height:70px;width:auto;height:auto}
.ezd-login .ezd-login-brand{font-size:32px;letter-spacing:1px;font-weight:600;color:#17243e;margin:12px 0 0}
.ezd-login .ezd-login-caption{font-size:13px;color:#697991;margin:5px 0 0}
.ezd-login .login_panel{width:100%;max-width:430px;height:auto;background:white;border:1px solid #e4eaf2;border-radius:12px;box-shadow:0 12px 35px #17243e0a;margin:0 auto;padding:30px}
.ezd-login .login_panel_top,.ezd-login .login_panel_bottom,.ezd-login .panel_right{float:none;width:auto;height:auto}
.ezd-login .panel_left{display:none}
.ezd-login .login_panel_bottom{margin-top:20px;text-align:center}
.ezd-login :is(.inp_name,.inp_password,.inp_name_rec){float:none;width:auto;height:auto;margin:0 0 18px;background:none;line-height:1.5}
.ezd-login :is(.inp_name,.inp_password,.inp_name_rec)>span{float:none;width:auto;height:auto;line-height:1.5;color:#62708a;font-size:12px;margin-bottom:6px;display:block}
.ezd-login :is(.inp_name,.inp_password,.inp_name_rec)>input{float:none;width:100%;height:44px;line-height:1.4;padding:10px 12px;border:1px solid #dce3ed;border-radius:6px;font-size:16px;background:white;color:#24324b}
.ezd-login .text_logErr{width:auto;height:auto;line-height:1.5;color:#ad3434;font-size:13px}
.ezd-login .pass_rec_er{margin:4px 0 0!important;color:#ad3434!important}
.ezd-login :is(a.zaloguj,a.but_rec,a.but_back){display:inline-block;width:100%;height:auto;background:#255bea;color:white;border-radius:6px;padding:11px 16px;margin:0;float:none;text-align:center;font-size:14px;text-decoration:none;line-height:1.5}
.ezd-login a.but_back{background:#f0f3f8;color:#53637c;margin-top:10px}
.ezd-login .info{display:block;width:auto;height:auto;line-height:1.5;margin:0;padding:0;color:#23744b;font-size:14px}
.ezd-login .ezd-login-footer{text-align:center;color:#7c899f;font-size:12px;margin-top:25px}
@media(max-width:1050px){.ezd-app .ezd-shell{grid-template-columns:175px minmax(0,1fr)}.ezd-app .content{padding:22px}.ezd-app .ezd-toolbar{padding:15px 22px}.ezd-app .ezd-document-actions>tbody>tr:not(:first-child){display:flex;flex-wrap:wrap}.ezd-app .ezd-document-actions>tbody>tr:not(:first-child)>td{flex:1 1 200px}}
@media(max-width:700px){.ezd-app .ezd-shell{grid-template-columns:1fr}.ezd-app .ezd-sidebar{padding:15px 18px;gap:12px}.ezd-app .ezd-brand{font-size:23px}.ezd-app .ezd-brand small{display:inline;font-size:12px;letter-spacing:0;margin-left:12px}.ezd-app .ezd-nav-label,.ezd-app .ezd-sidebar-footer{display:none}.ezd-app #main-nav{display:flex;flex-wrap:wrap;gap:5px}.ezd-app #main-nav li a{padding:8px 10px;font-size:13px}.ezd-app .content{padding:20px 12px}.ezd-app .ezd-toolbar{padding:12px 18px}.ezd-app .ezd-pageheading h1{font-size:24px}.ezd-app .parties-grid{grid-template-columns:1fr}.ezd-app .ksef-wrapper{padding:15px}.ezd-app #footer{padding:15px 12px}.ezd-app .ezd-filterbar :is(input[type=text],select){max-width:100%;width:100%!important}.ezd-app .ezd-filterbar input[id$=DataOd],.ezd-app .ezd-filterbar input[id$=DataDo],.ezd-app .ezd-filterbar input[id$=TextBoxSzukaj]{width:100%!important}.ezd-app .chosen-container{width:100%!important}.ezd-login form{padding:35px 15px}.ezd-login .login_panel{padding:24px}}
@media print{body.ezd-app,body.ezd-print{background:white!important;color:black;font:12px/1.4 Arial,sans-serif}.ezd-sidebar,.ezd-toolbar,.ezd-pageheading,#footer,.ezd-skip,.ezd-document-actions,.ezd-filterbar{display:none!important}.ezd-app .ezd-shell,.ezd-app .ezd-workspace{display:block;min-height:0}.ezd-app .content{padding:0}.ezd-app .ezd-table-scroll{overflow:visible;max-width:none}.ezd-app .ezd-table-scroll>table.tabelGrid{min-width:0}.ezd-app .ksef-wrapper{max-width:none;padding:0;border:0!important;border-radius:0}.ezd-app .ksef-sys-header,.ezd-print .ksef-sys-header{background:#eef2f8}.ezd-print .ksef-wrapper{max-width:none;border:0;padding:0}.ezd-print img{max-width:100%}}
/* Final layout corrections for existing inline table widths. */
.ezd-app table.ezd-data-grid{width:100%!important;float:none!important}
.ezd-app table.tabelGrid th{text-transform:none!important}
.ezd-app .content .ezd-status-pending{background-color:#fff3db;color:#845708}
.ezd-app .content .ezd-status-accepted{background-color:#e6f5ed;color:#23744b}
.ezd-app .content .ezd-status-posted{background-color:#e9efff;color:#365eae}
.ezd-app .content .ezd-status-rejected{background-color:#fdecec;color:#a43e3e}
.ezd-app .ezd-table-scroll>.items-table,.ezd-app .ezd-table-scroll>.vat-table{min-width:650px;margin:0}
@media(max-width:1050px){.ezd-app table.ezd-document-actions{display:block;width:100%;max-width:100%}.ezd-app .ezd-document-actions>tbody{display:block;width:100%}.ezd-app .ezd-document-actions>tbody>tr{width:100%;display:flex;flex-wrap:wrap}.ezd-app .ezd-document-actions>tbody>tr>th{display:block;flex:1 1 100%}.ezd-app .ezd-document-actions>tbody>tr>td{width:auto!important;min-width:0;max-width:100%;flex:1 1 200px}.ezd-app .ezd-document-actions .ezd-table-scroll{width:100%}}
@media print{.ezd-print .ezd-table-scroll{overflow:visible;max-width:none}.ezd-print .ezd-table-scroll>table{min-width:0!important;width:100%!important;float:none!important}.ezd-app .ezd-table-scroll>.items-table,.ezd-app .ezd-table-scroll>.vat-table{min-width:0}}
.ezd-app table.ezd-document-actions{table-layout:fixed}
.ezd-app .ezd-document-actions>tbody>tr>td{width:auto!important;overflow-wrap:anywhere}
.ezd-app .ezd-notes-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:20px;margin:0 0 20px}
.ezd-app .ezd-note-panel{min-width:0;background:#fff;border:1px solid var(--ezd-line);border-radius:10px;padding:20px}
.ezd-app .ezd-note-panel h2{margin:0 0 12px;font-size:15px}
.ezd-app .ezd-note-panel> b{display:block;margin-bottom:12px;font-size:15px;color:#34435c}
.ezd-app .ezd-note-panel textarea{width:100%!important;margin:0 0 15px}
.ezd-app .ezd-note-panel .ezd-table-scroll>table{min-width:500px}
@media(max-width:900px){.ezd-app .ezd-notes-grid{grid-template-columns:1fr}}
@media print{.ezd-notes-grid{display:none!important}}
.ezd-app .ezd-notes-grid{align-items:start}
.ezd-app table.ezd-form-table{table-layout:fixed;width:100%;max-width:100%}
.ezd-app .ezd-form-table :is(td,th){overflow-wrap:anywhere}
.ezd-app table.formularz_kontaktowy{background:#fff;border:1px solid var(--ezd-line);border-radius:10px;padding:20px}
.ezd-app .formularz_kontaktowy span.nazwa{width:auto;max-width:100%;height:auto;float:none}
.ezd-app .formularz_kontaktowy input{width:100%;max-width:360px}
@media(max-width:700px){.ezd-app table.ezd-form-table,.ezd-app .ezd-form-table>tbody{display:block;width:100%}.ezd-app .ezd-form-table>tbody>tr{display:flex;flex-wrap:wrap;width:100%}.ezd-app .ezd-form-table>tbody>tr>:is(td,th){display:block;flex:1 1 100%;width:100%!important;min-width:0;max-width:100%}.ezd-app .ezd-form-table input[type=text],.ezd-app .ezd-form-table input[type=password]{width:100%}}
/* Poprawka wyłącznie dla kalendarza AjaxControlToolkit */
.ezd-app .ajax__calendar_container,
.ezd-app .ajax__calendar_container * {
    box-sizing: content-box;
}

.ezd-app .ajax__calendar_container table {
    width: auto;
    min-width: 0;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 !important;
}

.ezd-app .ajax__calendar_container table td,
.ezd-app .ajax__calendar_container table th {
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    font-size: 12px;
    line-height: normal;
}

.ezd-app .ajax__calendar_container .ajax__calendar_day,
.ezd-app .ajax__calendar_container .ajax__calendar_dayname {
    font-size: 12px;
    line-height: 17px;
}
