@charset "UTF-8";
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-variable.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-heading: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ink: #30343b;
    --muted: #7c828a;
    --line: #e7e9ec;
    --paper: #ffffff;
    --wash: #f7f8fa;
    --lime: #99cc33;
    --gray: #808080;
    --radius: 12px;
}
* { box-sizing: border-box; }
html { min-width: 0; background: var(--wash); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: var(--wash); font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #50565f; text-decoration: none; }
a:hover { color: #30343b; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #7caa22; outline-offset: 4px; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header .header-inner { width: 100%; min-height: 76px; padding: 14px 20px 12px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 9px; text-align: center; }
.header .brand-group { grid-column: 1; grid-row: 1; display: flex; justify-content: center; align-items: center; min-width: 0; }
.novatel-brand { display: block; width: 96px; margin: 0 auto; }
.novatel-brand:hover { opacity: .85; }
.novatel-logo { display: block; width: 100%; height: auto; }
.header .header-account { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; min-width: 0; width: 100%; }
.header-account .user-badge { border-left: 0; padding-left: 0; }
.header .header-logout { display: inline-flex; align-items: center; justify-content: center; color: #737a84; border-color: #e0e3e7; background: #fff; min-height: 30px; padding: 4px 10px; border-radius: 6px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.header-logout:hover, .header-logout:focus { background: #f7faf1; border-color: #b5cf87; color: #465039; }
.brand { display: inline-flex; align-items: center; }
.title { display: inline-block; font-family: var(--font-heading); font-size: 46px; line-height: 1.1; font-weight: 600; font-style: normal; letter-spacing: -2.4px; font-feature-settings: "kern"; }
.brand-call { color: var(--gray); font-weight: 500; }
.brand-web { color: var(--lime); font-weight: 700; }
.user-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 0 5px 18px; border-left: 1px solid var(--line); font-size: 13px; color: #777d85; overflow-wrap: anywhere; }
.user-dot { width: 6px; height: 6px; flex-shrink: 0; background: var(--lime); border-radius: 50%; }
.content { flex: 1 0 auto; min-width: 0; width: min(100% - 64px, 1184px); margin: 32px auto 48px; text-align: left; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 36px; }
.page-actions .btn { min-width: 88px; }
.page-subtitle { margin: 14px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.div_0 { margin-bottom: 28px; }
.div_1 { margin-bottom: 24px; }
.div_1:empty { display: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: #343b43; font-weight: 600; letter-spacing: -.65px; line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; }
.page-title { margin: 0; font-size: clamp(25px, 2.6vw, 32px); font-weight: 600; letter-spacing: -1px; line-height: 1.3; }
.page-title::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 15px; background: var(--lime); border-radius: 2px; }
.section-title, h5 { font-size: 21px; letter-spacing: -.55px; margin: 32px 0 20px; }
.section-title { display: flex; align-items: center; gap: 20px; }
.section-title::after { content: ""; flex: 1; min-width: 24px; height: 1px; background: var(--line); }
.table th, label { font-family: var(--font-heading); }

.div_2 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 2px 4px #18233402, 0 10px 32px #18233403; max-width: 100%; overflow-x: auto; }
.div_3 { min-width: 0; }
label { display: inline-block; margin: 0 0 9px; font-weight: 500; font-size: 13px; color: #747a83; }
.form-control, input[type="text"], input[type="password"], input[type="email"], select { font: inherit; color: var(--ink); background-color: #fff; border: 1px solid #dce0e5; border-radius: 7px; min-height: 44px; padding: 10px 13px; box-shadow: 0 1px 2px #18233403; max-width: 100%; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, input:focus, select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #99cc331a; }
input:disabled, select:disabled { background: #f4f5f7; color: #a0a5ad; border-color: var(--line); box-shadow: none; }
input[type="checkbox"], input[type="radio"] { position: static; width: 18px; height: 18px; accent-color: #8bb92f; cursor: pointer; vertical-align: middle; margin: 0 8px 0 0; flex-shrink: 0; }
input[size="3"] { width: 74px; }
.btn, input[type="submit"] { display: inline-block; border: 1px solid transparent; border-radius: 7px; min-height: 42px; padding: 10px 18px; font: 550 13px/1.5 var(--font-heading); cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; vertical-align: middle; white-space: normal; }
a > .btn { margin: 4px 6px 4px 0; }
.btn-success { color: #293713; background: var(--lime); border-color: var(--lime); }
.btn-success:hover, .btn-success:focus { background: #8fbe30; border-color: #8fbe30; color: #23300e; box-shadow: 0 2px 5px #6e901b1a; }
.btn-info { background: #fff; color: #5b626d; border-color: #e0e3e7; }
.btn-info:hover, .btn-info:focus { background: #f9fbf5; border-color: #b4cf7f; color: #414a35; }
.btn-secondary { background: #fff; color: #717782; border-color: #e0e3e7; }
.btn-secondary:hover, .btn-secondary:focus { background: #f5f6f8; border-color: #ccd1d8; color: var(--ink); }
.btn-danger { background: #fff; color: #a76b66; border-color: #e8dcda; }
.btn-danger:hover, .btn-danger:focus { background: #fcf8f7; border-color: #d9b4af; color: #96564f; }
hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
table { font-size: 13px; border-collapse: collapse; }
.table { width: 100%; margin-bottom: 20px; background: #fff; }
.table td, .table th { padding: 15px 18px; border-top: 1px solid #edf0f2; vertical-align: middle; }
.table tr:first-child > th, .table tr:first-child > td { border-top: 0; }
.table th, .page-pretekla_poraba .table tr:first-child td { background: #f6f7f9; color: #717986; font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.table th { position: sticky; top: 0; z-index: 1; }
.table-striped tbody tr:nth-of-type(odd) { background: #fafbfc; }
.table-striped tbody tr:hover { background: #f7faf1; }
.summary-table { width: min(100%, 640px); font-variant-numeric: tabular-nums; }
.summary-table td { padding: 11px 20px 11px 0; border-bottom: 1px solid #eff1f4; }
.summary-table tr:last-child td { border-bottom: 0; }
.summary-table td:first-child { width: 52%; color: #848a93; }
.summary-table td:last-child { font-weight: 500; color: #3b424c; }
.summary-table b { font-weight: 400; }
.call-list { max-height: 500px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.call-list .table { margin: 0; min-width: 1000px; font-variant-numeric: tabular-nums; }
.call-list .table td { white-space: nowrap; }
.page-izberi_account .content { max-width: 1000px; }
.page-izberi_account .div_2 { padding: 34px 38px; }
.page-izberi_account .div_3 br { display: none; }
.account-picker { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.account-picker label { margin: 0; font-size: 15px; font-weight: 500; color: #535b66; }
.page-izberi_account #account { display: block; width: min(100%, 320px) !important; margin: 0 !important; background-color: #fbfcfd; }
.date-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 516px; margin: 0 0 28px; }
.date-filter { min-width: 0; }
.date-filter label { display: block; }
.date-filters .date-filter input.form-control { display: block; width: 100%; font-variant-numeric: tabular-nums; }
.call-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.call-actions a { display: block; min-width: 0; }
.call-actions .btn { display: flex; align-items: center; gap: 13px; text-align: left; padding: 18px; margin: 0; width: 100%; min-height: 74px; background: #fff; border: 1px solid #e2e6eb; color: #505862; font-weight: 550; font-size: 14px; }
.call-actions .btn::before { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; background: #f3f8e9; color: #6e922b; font-size: 22px; font-weight: 400; }
#a_odhodni_klici.btn::before { content: "↗"; }
#a_dohodni_klici.btn::before { content: "↙"; }
#a_neodhovorjeni_klici.btn::before { content: "↳"; color: #ae7771; background: #faf3f1; }
.call-actions .btn:hover, .call-actions .btn:focus { border-color: #b5cf87; background: #fcfdf9; box-shadow: 0 3px 10px #2e3d1608; }
#a_neodhovorjeni_klici.btn:hover, #a_neodhovorjeni_klici.btn:focus { border-color: #d7b7b1; background: #fae9e6; color: #96564f; }
#a_neodhovorjeni_klici.btn:active { border-color: #cfa098; background: #f4d6d1; color: #854940; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.account-tools .btn-info { background: #fff; border-color: #e0e3e7; color: #5b626d; }
.account-tools .btn-info:hover, .account-tools .btn-info:focus { background: #727272; border-color: #727272; color: #fff; }
.account-tools .btn-info:active { background: #5d5d5d; border-color: #5d5d5d; color: #fff; }
.account-toolbar a > .btn { margin: 0; }
.page-login .content { max-width: 404px; margin-top: clamp(48px, 11vh, 110px); }
.page-login .div_2 { padding: 38px; }
.page-login .div_1 { display: none; }
.page-login .login-heading { margin: 0 0 30px; }
.login-heading .page-title { font-size: 28px; font-weight: 600; letter-spacing: -.85px; margin: 0; }
.page-login form > br { display: none; }
.page-login label { display: block; margin-bottom: 8px; }
.page-login .form-control { margin: 0 0 24px; width: 100%; }
.page-login input[type="submit"] { margin: 6px 0 0; width: 100%; }
.login-error { display: block; margin-bottom: 18px; padding: 12px; border: 1px solid #efdbd8; border-radius: 7px; background: #fcf6f5; color: #a05d55; }
.page-settings .table td:first-child, .page-uredi_preusmeritev .table td:first-child { width: 40%; }
.settings-table .setting-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 0; }
.page-settings .table b { font-weight: 500; }
.page-settings .table td, .page-uredi_preusmeritev .table td { padding-top: 18px; padding-bottom: 18px; }
.page-settings .table input[size="15"] { width: 130px; }
.page-uredi_preusmeritev input[type="text"] { margin: 4px 3px; }
.check-control { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; color: #505862; font: inherit; cursor: pointer; }
.check-control input[type="checkbox"] { margin: 0; }
.settings-table .setting-check { position: static; display: block; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; appearance: auto; box-shadow: none; }
.settings-table .setting-spacer td { height: 12px; padding: 0; background: var(--paper); border: 0; }
.settings-table .email-controls { gap: 12px; }
.settings-table .email-controls input[type="email"] { flex: 1 1 200px; min-width: 0; }
.settings-table .email-controls select { flex: 1 1 140px; min-width: 0; }
.forwarding-table td:last-child { vertical-align: top; }
.forwarding-table td:last-child > .check-control { margin-right: 12px; }
.forwarding-table b { font-weight: 500; }
.setting-heading { margin: 0; color: inherit; font: inherit; font-weight: 500; cursor: pointer; }
.forward-delay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; color: var(--muted); font: inherit; }
.forward-delay input[size="3"] { margin: 0; width: 70px; }
.form-save { min-width: 140px; }
.save-confirmation { width: min(100%, 480px); margin: clamp(32px, 8vh, 80px) auto; padding: 40px 36px 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 36px #18233406; text-align: center; }
.save-confirmation-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border: 1px solid #dcebbb; border-radius: 50%; background: #f3f8e9; color: #7ba124; }
.save-confirmation-icon svg { display: block; width: 28px; height: 28px; }
.save-confirmation h1 { margin: 0 0 14px; font-size: 29px; letter-spacing: -.9px; line-height: 1.3; }
.save-confirmation-account { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.save-confirmation-account span { margin-left: 6px; color: #505862; font-weight: 500; font-variant-numeric: tabular-nums; }
.save-confirmation-return { margin: 28px 0 14px; color: var(--muted); font-size: 12px; }
.save-confirmation-progress { width: 120px; height: 3px; margin: 0 auto; overflow: hidden; border-radius: 3px; background: #edf2e5; }
.save-confirmation-progress::after { content: ""; display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--lime); transform: scaleX(0); transform-origin: left; animation: save-confirmation-return 2s linear forwards; }
@keyframes save-confirmation-return { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .save-confirmation-progress::after { animation: none; transform: none; } }
.period-selector { display: flex; align-items: flex-end; gap: 12px; padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.period-field { flex: 0 1 190px; width: 190px; max-width: 100%; min-width: 0; }
.period-field label { display: block; }
.period-field .form-control { width: 100%; }
.usage-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.usage-table .table { margin: 0; }
.page-pregled_preusmeritev .table a { color: #5b7137; font-weight: 500; }
.site-footer { display: flex; justify-content: center; align-items: center; width: 100%; padding: 12px 24px 28px; text-align: center; }
.site-footer .novatel-brand { flex: 0 0 96px; margin: 0; }
.ui-datepicker { border: 1px solid var(--line); border-radius: 10px; padding: 12px; box-shadow: 0 10px 32px #18233414; background: #fff; font-family: inherit; }
.ui-datepicker .ui-widget-header { border: 0; background: #f5f7f0; color: #616d4e; border-radius: 6px; }
.ui-datepicker .ui-state-default { background: #fafbf8; border-color: #eef1e9; color: var(--ink); }
.ui-datepicker .ui-state-active { background: var(--lime); color: #293713; border-color: var(--lime); }
@media (max-width: 700px) {
    .header .header-inner { min-height: 64px; padding: 14px 18px 12px; gap: 8px; }
    .title { font-size: 40px; }
    .user-badge { font-size: 12px; min-width: 0; max-width: calc(100% - 100px); }
    .content { width: calc(100% - 36px); margin-top: 30px; margin-bottom: 40px; }
    .div_1 { margin-bottom: 20px; }
    .div_2, .page-izberi_account .div_2 { padding: 24px; border-radius: 10px; }
    .page-login .div_2 { padding: 30px; }
    .page-title { font-size: 26px; letter-spacing: -.8px; }
    .section-title { font-size: 20px; }
    .account-picker { display: block; }
    .account-picker label { display: block; margin-bottom: 12px; font-size: 14px; }
    .page-izberi_account #account { width: 100% !important; }
    .date-filters { gap: 14px; margin-bottom: 24px; }
    .date-filter input { padding: 10px; font-size: 13px; }
    .call-actions { grid-template-columns: 1fr; gap: 10px; }
    .call-actions .btn { min-height: 64px; padding: 14px 16px; }
    .account-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
    .account-tools { gap: 8px; }
    .account-tools .btn { padding: 9px 12px; font-size: 12px; }
    .table td, .table th { padding: 12px; }
    .page-actions { margin-bottom: 32px; gap: 8px; }
    .page-settings .div_2, .page-uredi_preusmeritev .div_2 { padding: 18px; overflow: visible; }
    .page-settings .table, .page-uredi_preusmeritev .table { min-width: 0; table-layout: fixed; }
    .settings-table tbody, .forwarding-table tbody { display: block; }
    .settings-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .settings-table td, .forwarding-table td { display: block; border: 0; padding: 0 !important; width: auto !important; min-width: 0; }
    .settings-table tr:first-child, .forwarding-table tr:first-child { padding-top: 0; }
    .settings-table tr:last-child, .forwarding-table tr:last-child { border-bottom: 0; }
    .settings-table.table-striped tbody tr, .forwarding-table.table-striped tbody tr { background: transparent; }
    .settings-table .check-control { font-size: 12px; gap: 8px; }
    .settings-table tr.setting-limit, .settings-table tr.setting-email { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .settings-table tr.setting-spacer { display: none; }
    .settings-table .setting-controls { gap: 8px 12px; }
    .settings-table .setting-limit .check-control { flex-basis: 100%; }
    .page-settings .settings-table input[size="15"] { width: 110px; }
    .settings-table .setting-limit .setting-controls > div:last-child { color: var(--muted); }
    .page-settings .settings-table .email-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .settings-table .email-controls .form-control { width: 100%; }
    .forwarding-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .forwarding-table td:first-child { margin-bottom: 10px; }
    .forwarding-table td:last-child { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .forwarding-table td:last-child > .check-control { margin: 0; }
    .page-uredi_preusmeritev .forwarding-table input[type="text"] { width: 100%; margin: 0; }
    .page-uredi_preusmeritev .forward-delay input[size="3"] { width: 70px; }
    .forward-delay { margin-top: 2px; gap: 8px; }
    .forwarding-table input[name="cfcc"] { margin: 10px 0; }
    .settings-form .form-save, .forwarding-form .form-save { display: block; width: 100%; }
    .save-confirmation { margin: 28px auto; padding: 30px 22px 26px; border-radius: 12px; }
    .save-confirmation h1 { font-size: 25px; letter-spacing: -.7px; }
    .period-selector { gap: 10px; padding-bottom: 20px; margin-bottom: 20px; }
    .page-pretekla_poraba .div_2 { padding: 18px; overflow: visible; }
    .page-pretekla_poraba .table { min-width: 790px; }
    .summary-table td { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
    body, html { background: #fff; }
    .content { width: 100%; margin: 20px 0; }
    .header-inner { padding: 0; }
    .div_2 { box-shadow: none; border: 0; padding: 0; }
    .call-list { max-height: none; overflow: visible; border: 0; }
    .call-list .table { min-width: 0; font-size: 9px; }
    .call-list .table td { white-space: normal; }
    .call-list .table td, .call-list .table th { padding: 5px; }
    .btn, .site-footer { display: none; }
}

@media (max-width: 700px) {
    .header .header-account { gap: 14px; }
}

/* Main Callweb layout and call summaries. */
.header .header-inner { width: min(100% - 64px, 1184px); margin: 0 auto; grid-template-columns: auto minmax(0, 1fr); justify-items: stretch; align-items: center; min-height: 84px; padding: 16px 0; gap: 24px; text-align: left; }
.page-izberi_account .header .header-inner { max-width: 1000px; }
.header .brand-group { justify-content: flex-start; }
.header .header-account { grid-column: 2; grid-row: 1; justify-content: flex-end; width: auto; flex-wrap: nowrap; gap: 14px; }
.header .user-badge { min-width: 0; max-width: none; }
.content { flex: 0 0 auto; margin-bottom: 6px; }
.content > :last-child, .content > :last-child > .div_0, .content > .div_0:last-child { margin-bottom: 0; }
.site-footer { padding: 16px 24px 22px; }
.page-account { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.page-account span { color: #515b65; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.page-number { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.page-number span { color: #515b65; margin-left: 8px; font-variant-numeric: tabular-nums; }
.call-summary { margin: 0; }
.period-display { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 13px 17px; border: 1px solid #e5eadf; border-radius: 9px; background: #f8faf5; }
.period-caption, .filter-caption { color: #78806e; font: 600 11px/1.5 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; }
.period-dates { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #48533f; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.period-arrow { color: #99ae7a; font-size: 16px; }
.summary-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; }
.summary-metrics-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-metrics-single { grid-template-columns: minmax(0, 1fr); }
.summary-metric { min-width: 0; padding: 22px; background: #fbfcfd; border: 1px solid var(--line); border-radius: 10px; }
.summary-metric dt { color: #77808b; font-size: 12px; font-weight: 400; }
.summary-metric dd { margin: 10px 0 0; color: #36404b; font: 600 clamp(25px, 2.5vw, 30px)/1.3 var(--font-heading); letter-spacing: -1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary-metric dd small { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.summary-metric-total { border-color: #dfeacb; background: #f5f9ee; }
.summary-metric-total dd { color: #526e2c; }
.period-selector { align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.usage-period { margin-bottom: 0; }
.call-filter-section { margin-top: 28px; }
.filter-caption { margin: 0 0 14px; }
.date-filters { max-width: 516px; gap: 0; padding: 16px 18px; border: 1px solid #e5eadf; border-radius: 10px; background: #f8faf5; }
.date-filter { padding-right: 18px; }
.date-filter + .date-filter { border-left: 1px solid #e0e6d9; padding: 0 0 0 18px; }
.date-filter label { margin-bottom: 7px; color: #78806e; font-size: 11px; }
.date-filters .date-filter input.form-control { background: #fff; border-color: #dfe5d8; }
@media (max-width: 1000px) { .summary-metrics:not(.summary-metrics-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .header .header-inner { width: calc(100% - 36px); padding: 16px 0; gap: 14px; }
    .header .title { font-size: 34px; letter-spacing: -1.8px; }
    .header .header-account { flex-wrap: wrap; gap: 5px 10px; }
    .header .user-badge { padding: 0; gap: 6px; font-size: 11px; }
    .content { margin-bottom: 4px; }
    .summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
    .summary-metrics-single { grid-template-columns: minmax(0, 1fr); }
    .summary-metric { padding: 16px 13px; }
    .summary-metric dt { font-size: 11px; }
    .summary-metric dd { font-size: 25px; letter-spacing: -.7px; }
    .period-display { padding: 12px 14px; gap: 6px 14px; }
    .period-dates { gap: 8px; font-size: 12px; }
    .usage-period { width: 100%; }
    .date-filters { padding: 12px; }
    .date-filter { padding-right: 10px; }
    .date-filter + .date-filter { padding-left: 10px; }
    .date-filters .date-filter input.form-control { padding: 9px 8px; font-size: 12px; }
}
@media print { .summary-metrics { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 380px) { .summary-metrics, .summary-metrics:not(.summary-metrics-single) { grid-template-columns: minmax(0, 1fr); } }

/* Center the wordmark on the login page. */
.page-login .header .header-inner { max-width: 404px; grid-template-columns: minmax(0, 1fr); text-align: center; }
.page-login .header .brand-group { justify-content: center; }
.page-login .header .header-account { grid-column: 1; grid-row: 2; justify-content: center; }

/* Compact navigation and clearer call controls. */
.page-actions { gap: 8px; margin-bottom: 18px; }
.page-actions .btn { min-width: 0; min-height: 34px; padding: 7px 12px; font-size: 12px; line-height: 1.5; }
.page-actions .btn-secondary, .btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; }
.page-actions .btn-secondary::before, .btn-back::before { content: ""; display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; margin: 0 1px 0 2px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: #8a929b; transform: rotate(45deg); }
.page-actions .btn-secondary:hover::before, .btn-back:hover::before { color: #697b51; }
.cPointer { cursor: pointer; }

/* The same form structure works with a keyboard and on narrow screens. */
.settings-modern { min-width: 0; }
.settings-section { min-width: 0; margin: 0 0 24px; padding: 18px 24px 22px; border: 1px solid #e5e9ed; border-radius: 11px; background: #fff; }
.settings-section legend { width: auto; max-width: 100%; margin: 0 0 0 -8px; padding: 0 8px; border: 0; color: #46515d; font: 600 16px/1.45 var(--font-heading); letter-spacing: -.3px; }
.settings-section-hint { margin: 0; color: #858d96; font-size: 12px; line-height: 1.6; }
.setting-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px 28px; padding: 20px 0; border-bottom: 1px solid #edf0f2; }
.setting-row:last-child { padding-bottom: 0; border-bottom: 0; }
.setting-description { min-width: 0; }
.setting-name { margin: 0; color: #505963; font: 500 13px/1.55 var(--font-heading); cursor: pointer; }
.setting-hint { margin: 6px 0 0; color: #8a919a; font-size: 12px; line-height: 1.6; }
.settings-modern .setting-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 14px; min-width: 0; }
.settings-modern .check-control { display: inline-flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; min-height: 36px; margin: 0; padding: 7px 10px; border: 1px solid #e9ecef; border-radius: 7px; background: #f8f9fa; color: #727b85; font-size: 12px; line-height: 1.5; }
.settings-modern .check-control:has(input:checked) { background: #f4f8ed; border-color: #dce8c8; color: #587235; }
.settings-modern .check-control:focus-within { border-color: #b2c88d; }
.settings-modern input[type="checkbox"] { position: static; appearance: auto; flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; padding: 0; box-shadow: none; accent-color: #8bb92f; }
.setting-value { display: flex; align-items: center; gap: 10px; min-width: 0; }
.setting-value .form-control { width: 112px; min-width: 0; font-variant-numeric: tabular-nums; }
.setting-unit { color: #88909a; font-size: 12px; white-space: nowrap; }
.setting-consumed { flex-basis: 100%; margin: 0; color: #616b76; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.setting-consumed span { color: #969ca4; margin-right: 5px; }
.notification-controls { display: grid; gap: 18px; padding-top: 18px; }
.notification-fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.notification-field { min-width: 0; }
.notification-field label { display: block; margin-bottom: 7px; color: #858d96; font-size: 12px; }
.notification-field .form-control { width: 100%; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 2px; }
.form-footer p { margin: 0; color: #9299a2; font-size: 12px; }
.form-footer .form-save { min-width: 120px; }
.forwarding-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.page-uredi_preusmeritev .forwarding-controls > input[type="text"] { width: 100%; min-width: 0; margin: 0; font-variant-numeric: tabular-nums; }
.forwarding-controls .forward-delay { grid-column: 1 / -1; justify-self: end; margin: 0; color: #89919b; font-size: 12px; }
.page-uredi_preusmeritev .forward-delay input[size="3"] { width: 70px; margin: 0; }

/* Forwarding rules use their full names, while number links stay prominent. */
.forwarding-overview-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 20px; }
.forwarding-overview-caption p { margin: 0; color: #858d96; font-size: 13px; }
.forwarding-overview-caption > span { color: #8d959e; font-size: 12px; white-space: nowrap; }
.forwarding-overview-caption strong { display: inline-block; min-width: 25px; margin-left: 6px; padding: 1px 7px; border-radius: 5px; background: #f0f4e9; color: #6b8349; text-align: center; font-weight: 500; }
.forwarding-list { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.forwarding-overview-table { margin: 0; table-layout: fixed; }
.forwarding-overview-table th:first-child { width: 38%; }
.forwarding-overview-table td { padding: 19px 20px; }
.forwarding-number-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-variant-numeric: tabular-nums; }
.page-pregled_preusmeritev .forwarding-number-link > span:first-child { color: #535f47; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.forwarding-edit { color: #9aa38f; font-size: 11px; font-weight: 400; white-space: nowrap; }
.forwarding-number-link:hover .forwarding-edit { color: #63863b; }
.forwarding-types { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.forwarding-tag { display: inline-block; max-width: 100%; padding: 4px 9px; border: 1px solid #e1eacb; border-radius: 6px; background: #f6f9f0; color: #6c814d; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.forwarding-none { color: #9ba1a8; font-size: 12px; }

/* Shared list panel, used below call summaries. */
.calls-list-panel { min-width: 0; margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.calls-list-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.calls-list-caption { margin: 0; color: #5a6470; font: 600 15px/1.5 var(--font-heading); letter-spacing: -.2px; }
.calls-list-caption h2, .calls-list-toolbar .section-title { margin: 0; color: #5a6470; font-size: 15px; letter-spacing: -.2px; }
.calls-list-toolbar .section-title::after { display: none; }
.calls-list-caption p, .calls-list-meta { margin: 3px 0 0; color: #939ba5; font: 400 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
.calls-list-count { display: inline-block; padding: 3px 9px; border: 1px solid #e3e9d9; border-radius: 6px; background: #f5f8f0; color: #758b57; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calls-list-panel .call-list { max-height: 520px; border: 0; border-radius: 0; }
.calls-list-panel .table th { padding-top: 12px; padding-bottom: 12px; background: #f6f8fa; }
.calls-list-panel .table td { padding-top: 14px; padding-bottom: 14px; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 40px 20px; text-align: center; }
.empty-state p { margin: 0; color: #939ba4; font-size: 13px; }
.empty-state-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e7ebdf; border-radius: 10px; background: #f8faf4; color: #a6b491; font-size: 21px; }
.compact-empty-state { padding: 30px 18px; }
.summary-metrics.summary-metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1000px) {
    .settings-section { padding-right: 20px; padding-left: 20px; }
    .setting-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
    .limit-controls .check-control { flex-basis: auto; }
    .summary-metrics.summary-metrics-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-metrics-three > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .page-actions { gap: 8px; margin-bottom: 16px; }
    .page-actions .btn { min-height: 34px; padding: 6px 10px; font-size: 12px; }
    .settings-section { margin-bottom: 22px; padding: 14px 16px 18px; border-radius: 9px; }
    .settings-section legend { font-size: 14px; }
    .settings-section-hint { font-size: 11px; }
    .setting-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 0; }
    .setting-name { font-size: 12px; }
    .setting-hint { margin-top: 4px; font-size: 11px; }
    .settings-modern .setting-controls { justify-content: flex-start; gap: 10px 12px; }
    .setting-consumed { text-align: left; }
    .setting-value .form-control { width: 100px; }
    .notification-controls { padding-top: 14px; gap: 14px; }
    .notification-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .forwarding-controls { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .forwarding-controls .forward-delay { grid-column: auto; justify-self: start; font-size: 11px; }
    .form-footer { flex-direction: column; gap: 14px; align-items: stretch; }
    .form-footer p { font-size: 11px; text-align: center; }
    .form-footer .form-save { min-height: 42px; width: 100%; }
    .forwarding-overview-caption { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
    .forwarding-overview-caption p { font-size: 12px; }
    .forwarding-overview-table, .forwarding-overview-table tbody { display: block; width: 100%; }
    .forwarding-overview-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); }
    .forwarding-overview-table tr { display: block; padding: 16px; border-top: 1px solid var(--line); }
    .forwarding-overview-table tr:first-child { border-top: 0; }
    .forwarding-overview-table td { display: block; width: 100%; padding: 0; border: 0; }
    .forwarding-overview-table td + td { margin-top: 12px; }
    .page-pregled_preusmeritev .forwarding-number-link > span:first-child { font-size: 14px; }
    .forwarding-tag { padding: 4px 7px; font-size: 10px; }
    .calls-list-panel { margin-top: 22px; border-radius: 9px; }
    .calls-list-toolbar { padding: 14px 15px; gap: 7px 12px; }
    .calls-list-caption, .calls-list-caption h2, .calls-list-toolbar .section-title { font-size: 13px; }
    .calls-list-caption p, .calls-list-meta { font-size: 11px; }
    .calls-list-panel .table td, .calls-list-panel .table th { padding-right: 13px; padding-left: 13px; }
    .compact-empty-state { padding: 26px 16px; }
}
@media (max-width: 600px) {
    .summary-metrics.summary-metrics-three { grid-template-columns: minmax(0, 1fr); }
    .summary-metrics-three > :last-child { grid-column: auto; }
}
@media print {
    .settings-section { break-inside: avoid; }
    .calls-list-panel { border: 0; }
    .calls-list-panel .call-list { max-height: none; overflow: visible; }
    .summary-metrics.summary-metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .summary-metrics-three > :last-child { grid-column: auto; }
}

.save-confirmation-error { border-color: #e8c6bf; }
.save-confirmation-error .save-confirmation-icon { color: #a05247; background: #fff0ed; }
.save-confirmation-error .btn-back { margin-top: 12px; }

/* Keep the usage overview separate from its detailed table. */
.usage-summary { margin-bottom: 28px; }
.usage-summary > .section-title { margin-top: 0; margin-bottom: 24px; }
.usage-summary > .summary-metrics { margin-top: 0; }
@media (max-width: 700px) {
    .usage-summary { margin-bottom: 22px; }
    .usage-summary > .section-title { margin-bottom: 20px; }
}

/* KATE Nova Gorica edition */
.header .brand-group { flex-direction: column; align-items: flex-start; gap: 3px; }
.page-login .header .brand-group { align-items: center; }
.brand-subtitle { font-family: var(--font-heading); font-size: 11px; line-height: 1.4; font-weight: 550; letter-spacing: .065em; color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) {
    .brand-subtitle { font-size: 10px; letter-spacing: .045em; }
}
