/* ============================
   GLOBAL VARIABLES – COLOR SYSTEM
   ============================ */

:root {
    /* BRAND – główne kolory */
    --color-primary: #1db8db;
    --color-primary-soft: #20cdf5;
    --color-primary-dark: #0d47a1;

    /* Tekst / Tła */
    --color-text-main: #222222;
    --color-bg-main: #F9F9F9;
    --color-bg-main-alt: #f2f3ff;

    /* Statusy */
    --color-success: #22a131;
    --color-success-glow: rgba(92, 250, 140, 0.9);
    --color-error: #ef5350;
    --color-danger: #940d1b;

    /* Szarości */
    --color-grey: #808080;
    --color-grey-light: #bdbdbd;
    --color-grey-border: #7c7c7c;
    --color-grey-border-2: #717171;

    /* Footer */
    --color-footer-text: #8C8C8C;

    /* Linki i detale */
    --color-link-focus: #68d4ff;
    --color-link-active: dodgerblue;

    --mb-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    --mb-text: #1f2937;
    --mb-muted: rgba(31, 41, 55, 0.72);
    --mb-blue: #1FB6FF;
    --mb-line: rgba(0, 0, 0, 0.07);
}

/* ============================
   GLOBAL PAGE STRUCTURE
   ============================ */

html,
button {
    font-family: 'Lexend', sans-serif;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    padding-left: 5px;
    padding-right: 5px;
    background-color: var(--color-bg-main-alt);
}

.portal-section-row {
    margin-left: 0;
    margin-right: 0;
}

.portal-section-row > .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-main) !important;
}

/* ============================
   GLOBAL HELPERS & UTILITIES
   ============================ */

.invisible,
.hide-object {
    display: none !important;
}

.badge {
    margin-bottom: 2px;
}

.height40 {
    line-height: 40px;
}

.wrapper {
    display: inline-block;
    max-height: 85%;
    padding: 5px;
    margin: 5px;
}

.wrapper img {
    width: 100%;
    object-fit: contain;
}

.clickable-row {
    cursor: pointer;
    transition: all ease 0.4s;
}

.full-width {
    width: 100%;
}

.no-shadows {
    box-shadow: none !important;
}

/* ============================
   BUTTONS
   ============================ */

.btn {
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: var(--color-primary-soft);
    border-radius: 10px;
    color: #fff;
    padding: 8px 30px;
    transition: all 0.5s;
    box-shadow: none;
    text-transform: none !important;
}

.btn:hover {
    background: var(--color-primary);
    border-radius: 5px;
    color: #fff;
    box-shadow: 3px 3px 8px rgba(15, 99, 117, 0.3);
}

.remove-btn {
    background-color: var(--color-danger) !important;
}

.preview-btn {
    min-width: 150px !important;
}

/* Mobile full-width buttons */
@media (max-width: 992px) {
    .btn {
        width: 100%;
    }
}

/* ============================
   INPUTS & FORMS
   ============================ */

.input-field label {
    color: var(--color-primary);
}

.input-field input[type=text]:focus + label {
    color: var(--color-primary) !important;
}

.input-field input[type=text]:focus {
    border-bottom: 1px solid var(--color-primary) !important;
    box-shadow: 0 1px 0 0 var(--color-primary) !important;
}

.input-field input[type=text].valid {
    border-bottom: 1px solid #2e7d32;
    box-shadow: 0 1px 0 0 #2e7d32;
}

.input-field input[type=text].invalid {
    border-bottom: 1px solid var(--color-error);
    box-shadow: 0 1px 0 0 var(--color-error);
}

input:disabled {
    color: var(--color-grey) !important;
    border-bottom-color: var(--color-grey-light) !important;
}

label[data-error],
label[data-success] {
    width: 100%;
}

/* CHECKBOXES */

[type="checkbox"].filled-in + span:not(.lever):after {
    border-color: var(--color-primary) !important;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    background-color: var(--color-primary);
    border-color: transparent;
}

[type="checkbox"].filled-in:checked + label:after {
    border: 2px solid var(--color-primary-dark);
    background-color: var(--color-primary-dark);
}

/* RADIO BUTTONS */

[type="radio"].with-gap:checked + label:before,
[type="radio"].with-gap:checked + label:after {
    border: 2px solid var(--color-text-main) !important;
}

[type="radio"].with-gap:checked + label:after {
    background-color: var(--color-text-main) !important;
}

/* ============================
   DATEPICKER
   ============================ */

.datepicker-date-display {
    background-color: #131422;
}

/* ============================
   TABLES / TABLESORTER
   ============================ */

.tablesorter td {
    text-align: center;
}

.tablesorter-filter-row td {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    background-color: #fff !important;
}

.tablesorter-headerRow {
    border-bottom: 1px solid var(--color-grey-border) !important;
}

.doc-container tr {
    border-bottom: 1px solid var(--color-grey-border-2);
}

.table-field {
    background-color: #fff;
}

.tablesorter-filter:focus {
    border-bottom-color: transparent !important;
}

/* ============================
   TABLE RE-FLOW (MOBILE)
   ============================ */

@media (max-width: 800px) {
    .tablesorter-filter-row {
        display: none !important;
    }

    .ui-table-reflow td,
    .ui-table-reflow th {
        width: 100% !important;
        float: right;
        height: auto !important;
        box-sizing: border-box;
    }

    .ui-table-reflow tbody td[data-title]:before {
        color: #171518;
        content: attr(data-title);
        float: left;
        width: 50%;
        font-size: .9em;
        display: inline-block;
        white-space: pre-wrap;
    }

    table.ui-table-reflow .ui-table-cell-label {
        display: none;
    }

    table.ui-table-reflow .ui-table-cell-label-top {
        display: block;
        padding: .4em 0;
        margin: .4em 0;
        text-transform: uppercase;
    }

    .tablesorter-headerRow {
        display: none !important;
    }

    .ui-table-reflow tr {
        border-bottom: 1px solid #585858;
    }
}

/* ============================
   NOTIFICATIONS
   ============================ */

.notification {
    transition: all 0.3s ease-in-out;
    filter: brightness(100%);
}

.notification:hover {
    filter: brightness(80%);
}

/* ============================
   NAVIGATION / HEADER
   ============================ */

.nav-wrapper,
.sidenav,
nav,
nav .nav-wrapper {
    background-color: #2B2B2B !important;
}

.navbar-fixed {
    z-index: 998;
}

.brand-logo img {
    margin-top: 10px;
    height: 30px;
}

.user-view .brand-logo2 img {
    height: 100px !important;
}

.button-collapse {
    color: black !important;
}

.sidenav {
    background-image: url("/assets/images/mascot.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: auto;
}

.sidenav-element.active {
    background-color: rgba(255, 255, 255, 0.53) !important;
}

.sidenav-element:hover {
    background-color: rgba(255, 255, 255, 0.31);
}

/* ============================
   TABS
   ============================ */

.tabs {
    background-color: transparent !important;
    border-bottom: 1px solid #808080;
}

.tabs > li > a {
    color: #fff;
    font-weight: bold;
}

.tabs .indicator {
    background-color: var(--color-text-main) !important;
}

.tab .active {
    color: #33b7ff !important;
}

.tab .indicator {
    color: transparent !important;
}


/* ============================
   DROPDOWNS / MENU / TEKSTY
   ============================ */

.secondary-content > .material-icons,
.dropdown-content > li > a,
.input-field > label,
.input-field,
.dropdown-content li {
    color: var(--color-text-main) !important;
}

ul.dropdown-content.select-dropdown li span {
    color: #000 !important;
}

.dropdown-content li a:hover {
    color: #000 !important;
}

.menu-color-text {
    color: var(--color-text-main) !important;
}

.pagesize,
.pagenum {
    color: #000 !important;
}

/* ============================
   BREADCRUMB / INFO / TO-DO
   ============================ */

.breadcrumb::before {
    color: #000 !important;
}

.info {
    margin-top: 5px;
    font-size: 105%;
}

.info-field {
    display: block;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.to-do-steps {
    font-style: italic;
}

.stepdone {
    text-decoration: line-through !important;
}

/* ============================
   LOGIN / CENTERING
   ============================ */

.center-container {
    position: relative;
    min-height: 500px;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-content {
    margin-top: 150px;
    margin-bottom: 150px;
}

/* ============================
   CHARTS
   ============================ */

.chart-container {
    height: 500px;
}

/* ============================
   TABLES / DOC
   ============================ */

.tablesorter-pager tr,
.tablesorter-ignoreRow {
    border-bottom: 0 !important;
}

.table-menu-bar {
    border-radius: 5px;
}

.doc {
    border-collapse: collapse;
    border-color: #dce4ec;
}

.doc,
.doc td,
.doc th {
    border: 1px solid #dce4ec;
    padding: 10px;
}

/* ============================
   PAGE / FOOTER
   ============================ */

footer {
    margin-top: -20px;
}

.page-footer {
    background-image: url("/assets/images/footer-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #131313 !important;
    color: var(--color-footer-text);
}

.footer-link {
    color: var(--color-footer-text) !important;
    text-decoration: none !important;
}

.footer-copyright {
    background-color: #191919 !important;
}

.footer-icon {
    width: 50px;
    height: 50px;
    margin: 5px;
}

.footer-logo {
    height: 50px;
}

.footer-phone-icon {
    height: 20px;
    margin-right: 5px;
}

.footer-social-icon {
    height: 25px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.footer-icon:hover,
.footer-phone-icon:hover,
.footer-social-icon:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

/* ============================
   NEWS / IMAGES
   ============================ */

.mbnews img {
    max-width: 100%;
}

.mbnews {
    margin-bottom: 100px;
}

.pdate {
    font-size: 130%;
}

/* ============================
   DROPZONE
   ============================ */

.dropzone {
    display: block;
    border-radius: 10px;
    border: 2px dashed #fff;
    padding: 50px;
}

.dropzone-text {
    border: none !important;
}

/* ============================
   CARD SECTIONS / DIVIDERS
   ============================ */

.card-section-header {
    font-weight: bold;
    font-size: 120%;
    margin-top: 20px;
    display: block;
    width: 100%;
}

.divider {
    margin-bottom: 20px !important;
}

/* ============================
   TABLE OF CONTENTS
   ============================ */

.table-of-contents a:hover {
    font-weight: 500;
    padding-left: 9px;
    border-left: 1px solid var(--color-link-focus) !important;
}

.table-of-contents a.active {
    font-weight: 500;
    padding-left: 8px;
    border-left: 2px solid var(--color-link-active) !important;
}

/* ============================
   ICONS / ACTIVE STATES
   ============================ */

.material-icons.active {
    color: var(--color-primary) !important;
}

/* ============================
   CAROUSEL / INDICATORS
   ============================ */

.indicators li {
    background-color: #76afff !important;
}

.indicators .active {
    background-color: var(--color-primary-dark) !important;
}

/* ============================
   SALDO / FUEL
   ============================ */

.saldo,
.fuel {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor: pointer;
}

.saldo {
    transition: all 0.5s ease;
}

.saldo:hover {
    color: #fff;
    background-color: #1976d2;
    transition: all 0.4s ease;
}

.fuel {
    height: 300px;
}

/* ============================
   CAROUSEL PAYMENTS
   ============================ */

.carousel-payments .carousel-payments-item {
    padding-left: 10px;
    padding-right: 10px;
}

.carousel-payments {
    min-height: 800px !important;
    padding-top: 30px !important;
}

.carousel-payments-item {
    min-height: 800px !important;
    width: 50% !important;
}

.carousel-card {
    padding-top: 50px !important;
    min-height: 600px !important;
}

.carousel-payments-item img {
    max-height: 80px;
    max-width: 100% !important;
}

/* ============================
   TABLE SORTING / FILTERY
   ============================ */

.table-sortable th,
.table-sortable td,
.sortable th,
.sortable1 th,
.sortable2 th,
.tablesort th,
.tablesorter-filter-row td {
    background-color: transparent !important;
}

.smallpadding td,
.smallpadding tr {
    padding: 5px !important;
}

/* ============================
   PIN / STICKY
   ============================ */

.pin-top,
.pin-bottom {
    position: relative;
}

.pinned {
    position: fixed !important;
}

/* ============================
   ERROR MESSAGES
   ============================ */

.error {
    color: red;
    font-size: 90%;
    margin-left: 25px;
    padding-left: 25px;
    margin-top: -20px;
}

/* ============================
   TABLE SELECT
   ============================ */

table select {
    width: 55px !important;
    float: right;
}

/* ============================
   PAGE-LEVEL RESPONSIVE
   ============================ */

@media only screen and (max-width: 992px) {
    header,
    main,
    footer {
        padding-left: 0;
    }

    .carousel-payments-item {
        width: 100% !important;
    }

    .carousel-payments-item img {
        max-height: 50px;
        max-width: 100%;
    }

    canvas {
        height: 200px;
    }
}

@media (max-width: 768px) {
    h4 {
        text-align: center;
    }

    .contract-img {
        display: none;
        visibility: hidden;
        height: 0px !important;
    }

    .card-panel {
        text-align: center;
    }
}

/* ============================
   SWIPE FIELD
   ============================ */

.swipe-field {
    height: 800px;
}

/* ============================
   SWITCH / CHOOSE PAYMENT
   ============================ */

.switch {
    margin-top: 20px;
    margin-bottom: 20px;
}

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: var(--color-primary) !important;
}

.choose-payment-box {
    min-height: 250px;
    padding-top: 20px;
    padding-bottom: 20px !important;
}

.choose-payment-box-selected {
    -webkit-box-shadow: 0 0 15px rgba(29, 184, 219, 1);
    -moz-box-shadow: 0 0 15px rgba(29, 184, 219, 1);
    box-shadow: 0 0 15px rgba(29, 184, 219, 1);
}

/* ============================
   USER TOTAL / SALDO
   ============================ */

.user-total {
    font-size: 500%;
    font-weight: bold;
    color: var(--color-success);
    text-shadow: var(--color-success-glow) 0 0 29px;
}

/* ============================
   DEPOSIT / CAROUSEL
   ============================ */

.deposit-header {
    font-size: 130%;
    text-align: center;
    font-weight: 200;
}

.deposit-header-2 {
    text-align: center;
    font-weight: 200;
}

.deposit-dates {
    font-size: 110%;
    text-align: center;
    font-weight: 300;
}

.deposit-value {
    font-size: 300% !important;
    text-align: center;
}

.deposit-table tr {
    border: 0;
}

.deposit-table td {
    padding-bottom: 2px;
    padding-top: 2px;
}

.payment-on {
    background-color: var(--color-success) !important;
}


/* ============================
   CARD PANELS
   ============================ */

.card-panel {
    border-radius: 20px;
    box-shadow: none;
}

/* ============================
   MISC LAYOUT
   ============================ */

.contract-group {
    min-height: 350px;
}

.mobile-fab-tip {
    position: fixed;
    right: 85px;
    padding: 0 0.5rem;
    text-align: right;
    background-color: #323232;
    border-radius: 2px;
    color: #FFF;
    width: auto;
}

.chart-container {
    height: 500px;
}

/* ============================
   SPECIAL CLASSES / OTHER
   ============================ */

.tablesorter-headerRow {
    border-bottom: 1px solid var(--color-grey-border) !important;
}

.doc-container tr {
    border-bottom: 1px solid var(--color-grey-border-2);
}

/* ===== PATCH: zachowanie 1:1 jak w starej wersji ===== */

/* szerokie dropdowny */
.dropdown-content {
    width: 100% !important;
}

/* wygładzony kontener wygenerowanych tabel */
.generated-table-container {
    padding: 15px;
    border-radius: 7px;
}

/* checkbox w state change */
.state_change_checkbox {
    padding: 0 !important;
    margin: 0 !important;
}

/* labelki wracają do ciemnego koloru (jeśli tak wolisz) */
/* jeśli wolisz turkusowe – tę sekcję pomiń */
.input-field label {
    color: #222222 !important;
}

/* przywracamy styl password-focus (jeśli używane) */
.input-field input[type=password]:focus + label {
    color: var(--color-primary) !important;
}

.input-field input[type=password]:focus {
    border-bottom: 1px solid var(--color-primary) !important;
    box-shadow: 0 1px 0 0 var(--color-primary) !important;
}

/* footer link hover jak wcześniej */
.footer-link {
    transition-duration: 0.3s;
}

.footer-link:hover {
    color: #fff !important;
    text-decoration: none !important;
    transition-duration: 0.3s;
}

/* indicators jak poprzednio, jeśli wolisz jednolite kropki */
.indicators li,
.indicators .active {
    background-color: #1db8db !important;
}

/* saldo hover jak wcześniej */
.saldo:hover {
    color: #fff;
    background-color: #1db8db;
}

/* login page style */
.login-button {
    height: 60px;
    width: 80%;
    font-family: 'Lexend', sans-serif;
    font-size: 120%;
    margin: 10px 10%;
}

.under-button-text {
    color: #312d2d;
    transition: 500ms;
}

.under-button-text:hover {
    color: #5b5757;
    transition: 500ms;
}


/* ===========================
   NotificationPanel (global PRO)
   =========================== */

.mb-notify {
    display: block;
    text-decoration: none;
    color: inherit;
    margin: 0 0 14px 0;
}

.mb-notify-card {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease;
}

/* hover – delikatny lift */
a.mb-notify:hover .mb-notify-card {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* pasek po LEWEJ (premium, nie krzyczy) */
.mb-notify-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: var(--notify-color, #26A6FE);
}

/* delikatny bubble/gradient w prawym górnym rogu */
.mb-notify-card::after {
    content: "";
    position: absolute;
    top: -85px;
    right: -85px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle,
    rgba(31, 182, 255, 0.14),
    rgba(255, 213, 74, 0.10),
    rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

/* ikona w boxie */
.mb-notify-icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 182, 255, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.mb-notify-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* tekst */
.mb-notify-body {
    flex: 1;
    position: relative;
    z-index: 2;
}

.mb-notify-title {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.01em;
    color: rgba(11, 93, 122, 0.95);
    margin-bottom: 4px;
}

.mb-notify-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.mb-tutorial-dismiss {
    border: 0;
    background: rgba(21, 32, 51, 0.06);
    color: #51627f;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.mb-tutorial-dismiss:hover {
    background: rgba(21, 32, 51, 0.12);
    color: #1b2a45;
}

.mb-notify-text {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: rgba(31, 41, 55, 0.88);
}

.mb-notify-card-tutorial {
    align-items: stretch;
}

.mb-notify-tutorial-heading {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
    color: #152033;
    margin: 0 0 8px;
}

.mb-tutorial-steps {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mb-tutorial-step {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(21, 32, 51, 0.08);
    background: rgba(245, 248, 255, 0.95);
}

.mb-tutorial-step.is-current {
    border-color: rgba(31, 134, 255, 0.28);
    background: linear-gradient(135deg, rgba(31, 134, 255, 0.10), rgba(255, 255, 255, 0.98));
}

.mb-tutorial-step.is-done {
    border-color: rgba(11, 156, 71, 0.20);
    background: linear-gradient(135deg, rgba(11, 156, 71, 0.10), rgba(255, 255, 255, 0.98));
}

.mb-tutorial-step-no {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #152033;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.mb-tutorial-step.is-current .mb-tutorial-step-no {
    background: #1f86ff;
}

.mb-tutorial-step.is-done .mb-tutorial-step-no {
    background: #0b9c47;
}

.mb-tutorial-step-body {
    flex: 1;
    min-width: 0;
}

.mb-tutorial-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.mb-tutorial-step-title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #182338;
}

.mb-tutorial-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(21, 32, 51, 0.08);
    color: #30405f;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.mb-tutorial-step.is-current .mb-tutorial-step-badge {
    background: rgba(31, 134, 255, 0.14);
    color: #1f5eb0;
}

.mb-tutorial-step.is-done .mb-tutorial-step-badge {
    background: rgba(11, 156, 71, 0.14);
    color: #0b7c3b;
}

.mb-tutorial-step-text {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(31, 41, 55, 0.82);
}

.mb-tutorial-step-action {
    margin-top: 8px;
}

.mb-tutorial-step-action a {
    font-size: 13px;
    font-weight: 800;
    color: #1f86ff;
}

.mb-tutorial-apps {
    margin-top: 16px;
}

.mb-tutorial-apps-title {
    font-size: 13px;
    font-weight: 900;
    color: #30405f;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mb-tutorial-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.mb-tutorial-app-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #152033;
    background: #fff;
    border: 1px solid rgba(21, 32, 51, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: transform .16s ease, box-shadow .16s ease;
}

.mb-tutorial-app-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.mb-tutorial-app-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 28px;
}

.mb-tutorial-app-link span {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.mb-tutorial-main-action {
    margin-top: 16px;
}

/* na mobile – ciaśniej */
@media (max-width: 600px) {
    .mb-notify-card {
        padding: 14px 14px;
        gap: 12px;
    }

    .mb-notify-icon {
        width: 46px;
        min-width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .mb-notify-icon img {
        width: 26px;
        height: 26px;
    }

    .mb-notify-text {
        font-size: 13px;
    }

    .mb-notify-tutorial-heading {
        font-size: 18px;
    }

    .mb-notify-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mb-tutorial-step {
        padding: 11px 12px;
    }

    .mb-tutorial-step-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .mb-tutorial-apps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   Orders Page (Zamówienia)
   =========================== */
/* ===========================
       Orders Page (Zamówienia)
       =========================== */

.orders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 14px;
    margin-bottom: 28px;
}

@media (max-width: 992px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
}

.order-card {
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    position: relative;
}

.order-card::after {
    content: '';
    position: absolute;
    top: -85px;
    right: -85px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle,
    rgba(31, 182, 255, 0.14),
    rgba(255, 213, 74, 0.10),
    rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

.order-head {
    padding: 16px 18px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.order-title {
    font-size: 18px;
    font-weight: 900;
    color: rgba(31, 41, 55, 0.95);
}

.order-sub {
    font-size: 13px;
    font-weight: 700;
    color: rgba(31, 41, 55, 0.72);
    margin-top: 4px;
}

.order-logo {
    max-height: 46px;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.10));
}

.order-body {
    padding: 14px 18px 14px;
    position: relative;
    z-index: 2;
}

.order-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 600px) {
    .order-metrics {
        grid-template-columns: 1fr;
    }
}

.order-metric {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg,
    rgba(31, 182, 255, 0.06),
    rgba(255, 213, 74, 0.05)
    );
    padding: 12px 14px;
}

.order-metric span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: rgba(31, 41, 55, 0.70);
}

.order-metric b {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-top: 6px;
    color: rgba(31, 41, 55, 0.92);
}

.order-req {
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px dashed rgba(31, 182, 255, 0.35);
    background: rgba(31, 182, 255, 0.06);
    font-size: 13px;
    font-weight: 700;
    color: rgba(31, 41, 55, 0.85);
    margin-bottom: 12px;
}

.order-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(31, 41, 55, 0.86);
    font-weight: 700;
    font-size: 13px;
}

.order-list li {
    margin: 6px 0;
}

.order-footer {
    padding: 14px 18px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.order-btn {
    border-radius: 16px;
    font-weight: 900;
    text-transform: none !important;
}

.order-disabled {
    font-size: 13px;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.92);
}

.input-field input[type=text],
.input-field input[type=password],
.input-field input[type=email],
.input-field input[type=number],
.input-field textarea {
    border-radius: 14px !important;
    border: 1px solid var(--mb-line) !important;
    padding: 0 14px !important;
    height: 48px !important;
    box-sizing: border-box;
    background: rgba(246, 249, 252, 0.65);
}

.select-wrapper input.select-dropdown {
    border-radius: 14px !important;
    border: 1px solid var(--mb-line) !important;
    padding: 0 14px !important;
    height: 48px !important;
    background: rgba(246, 249, 252, 0.65);
}

.select-dropdown.dropdown-content {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

.input-field > label {
    left: 20px !important;

}

.input-field > .helper-text {
    left: 4px !important;

}

.input-field > label.active {
    transform: translateY(-20px) scale(0.8) !important;
    transform-origin: left top !important;
}

/* TYLKO label dla selecta */
.input-field > select + label {
    top: -6px !important;
}
