﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7); /* semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.4rem solid #ddd;
    border-top: 0.4rem solid #007bff; /* spinner color */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* This code is for shipping label. */
.label-card {
    font-family: 'Courier New', monospace;
    padding: 16px;
    border: 1px solid #000;
    background-color: white;
    max-width: 1700px;
    margin: 0 auto;
}

.label-header {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.label-section {
    margin: 8px 0;
}

.label-caption {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 2px;
}

.dashed-divider {
    border-top: 1px dashed #000;
    width: 100%;
}

.barcode-section {
    padding: 8px 0;
}

.tracking-number {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Customer and Branch layout */
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* ========== FIX FOR PRODUCTION ISSUE ========== */
/* Force the bottom row to display properly */
.label-section .label-row {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px !important; /* Increased gap */
}

/* Make sure columns take space */
.label-section .label-col {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: visible !important; /* Changed to visible */
}

    /* Specific column adjustments - WIDER FOR CONTENT */
    .label-section .label-col.text-start {
        flex: 1.5 !important; /* Merchant */
        min-width: 80px !important;
    }

    .label-section .label-col.text-md-start {
        flex: 2.5 !important; /* Tracking */
        min-width: 140px !important;
    }

    .label-section .label-col.text-md-end {
        flex: 2 !important; /* Weight - WIDER */
        min-width: 120px !important;
    }

    .label-section .label-col.text-end {
        flex: 1 !important; /* CU */
        min-width: 60px !important;
    }

/* Better text handling */
.label-section .label-caption {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.label-section .label-strong {
    white-space: normal !important; /* Allow wrapping */
    word-break: break-word !important;
    overflow: visible !important;
    display: block !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}
/* ========== END FIX ========== */

/* Responsive button container */
.button-container {
    display: flex;
    width: 100%;
    gap: 12px;
}

.dialog-button {
    flex: 1;
    min-width: 0;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 8px;
    }

    .dialog-button {
        width: 100%;
        flex: none;
    }

    .label-card {
        padding: 12px;
        max-width: 100%;
    }
}


/* Print-specific styles */
@media print {
    /* REMOVE ALL HEADERS/FOOTERS */
    @page {
        margin: 0 !important;
        size: auto;
    }

    /* Hide everything by default */
    body {
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Show only the print container */
    #print-container, #print-container * {
        visibility: visible !important;
    }

    /* Position the print container */
    #print-container {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        background: white !important;
        box-sizing: border-box !important;
    }

        /* Label styling - NARROWER */
        #print-container .label-card {
            font-family: 'Courier New', monospace !important;
            width: 450px !important;
            max-width: 450px !important;
            min-width: 450px !important;
            padding: 15px !important;
            border: 1px solid #000 !important;
            background: white !important;
            box-shadow: none !important;
            box-sizing: border-box !important;
        }

        /* Bottom row - TIGHTER LAYOUT */
        #print-container .label-section:last-child .label-row {
            display: flex !important;
            flex-wrap: nowrap !important;
            justify-content: space-between !important;
            align-items: flex-start !important;
            width: 100% !important;
            gap: 6px !important; /* Even smaller gap */
            box-sizing: border-box !important;
        }

        /* Column widths - OPTIMIZED FOR 450px */
        #print-container .label-section:last-child .label-col {
            box-sizing: border-box !important;
            overflow: hidden !important;
        }

            #print-container .label-section:last-child .label-col.text-start {
                flex: 1 !important; /* Merchant */
                min-width: 65px !important;
                max-width: 75px !important;
            }

            #print-container .label-section:last-child .label-col.text-md-start {
                flex: 2 !important; /* Tracking */
                min-width: 135px !important;
                max-width: 155px !important;
            }

            #print-container .label-section:last-child .label-col.text-md-end {
                flex: 1.4 !important; /* Weight */
                min-width: 105px !important;
                max-width: 125px !important;
            }

            #print-container .label-section:last-child .label-col.text-end {
                flex: 0.5 !important; /* CU - smallest */
                min-width: 35px !important;
                max-width: 45px !important;
            }

        /* Text styling - COMPACT */
        #print-container .label-section:last-child .label-caption {
            font-size: 8.5px !important;
            font-weight: bold !important;
            text-transform: uppercase !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            margin-bottom: 1px !important;
        }

        #print-container .label-section:last-child .label-strong {
            font-size: 9.5px !important;
            font-weight: 600 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            line-height: 1.1 !important;
        }

        /* CU specific - right aligned and compact */
        #print-container .label-section:last-child .label-col.text-end .label-strong {
            text-align: right !important;
            font-size: 9.5px !important;
        }
}


/*///////////////////////////////////////////////////*/

/* =========================
   PROFILE HEADER (BIGGER)
   ========================= */

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    /* ✅ Taller banner */
    padding: 28px 26px;
    min-height: 140px;
    border-radius: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    background: linear-gradient( 135deg, rgba(var(--mud-palette-primary-rgb), 0.22) 0%, rgba(var(--mud-palette-primary-rgb), 0.00) 65% );
}

.profile-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.profile-avatar-lg {
    /* ✅ Bigger avatar like your screenshot */
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, .95);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    display: grid;
    place-items: center;
    /* ✅ Bigger initials if no photo */
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.profile-header-text {
    min-width: 0;
}

.profile-header-actions {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 22px 18px;
    }
}

.page-loading-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    z-index: 9999;
    /* optional: dims background and blocks clicking while loading */
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(2px);
}


/* ================================
   TakumiWHM Sidebar Logo Fix
   ================================ */

/* Default expanded sidebar */
.logo .logo-lg {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.logo .logo-sm {
    display: none !important;
}

/* Full logo size */
.logo img.takumi-logo-lg {
    width: 180px;
    height: auto;
    object-fit: contain;
}

/* Small collapsed logo size */
.logo img.takumi-logo-sm {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* Center the logo vertically inside the sidebar logo area */
.leftside-menu .logo {
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

    /* Make both logo containers fill the logo area */
    .leftside-menu .logo .logo-lg,
    .leftside-menu .logo .logo-sm {
        height: 70px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Full logo */
    .leftside-menu .logo img.takumi-logo-lg {
        width: 180px;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* Collapsed logo */
    .leftside-menu .logo img.takumi-logo-sm {
        width: 42px;
        height: 42px;
        object-fit: contain;
        display: block;
    }

/* Collapsed / condensed sidebar */
[data-leftbar-size="condensed"] .logo .logo-lg,
[data-leftbar-size="compact"] .logo .logo-lg,
[data-sidenav-size="condensed"] .logo .logo-lg,
html[data-sidenav-size="condensed"] .logo .logo-lg,
body[data-leftbar-size="condensed"] .logo .logo-lg {
    display: none !important;
}

[data-leftbar-size="condensed"] .logo .logo-sm,
[data-leftbar-size="compact"] .logo .logo-sm,
[data-sidenav-size="condensed"] .logo .logo-sm,
html[data-sidenav-size="condensed"] .logo .logo-sm,
body[data-leftbar-size="condensed"] .logo .logo-sm {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* ================================
   Collapsed Sidebar Flyout Fix
   ================================ */

/* Keep sidebar above page content */
.leftside-menu {
    z-index: 1050 !important;
}

/* Top navbar stays below sidebar hover/flyout */
.navbar-custom,
.topbar,
.app-topbar {
    z-index: 1040 !important;
}

/* Make collapsed sidebar hover area visible */
[data-leftbar-size="condensed"] .leftside-menu,
[data-leftbar-size="compact"] .leftside-menu,
[data-sidenav-size="condensed"] .leftside-menu,
html[data-sidenav-size="condensed"] .leftside-menu,
body[data-leftbar-size="condensed"] .leftside-menu {
    overflow: visible !important;
    z-index: 1050 !important;
}

/* Make collapsed menu items/flyouts visible */
[data-leftbar-size="condensed"] .side-nav,
[data-leftbar-size="compact"] .side-nav,
[data-sidenav-size="condensed"] .side-nav,
html[data-sidenav-size="condensed"] .side-nav,
body[data-leftbar-size="condensed"] .side-nav {
    overflow: visible !important;
}

    /* Keep hover labels/submenus above navbar/content */
    [data-leftbar-size="condensed"] .side-nav .side-nav-item,
    [data-leftbar-size="compact"] .side-nav .side-nav-item,
    [data-sidenav-size="condensed"] .side-nav .side-nav-item,
    html[data-sidenav-size="condensed"] .side-nav .side-nav-item,
    body[data-leftbar-size="condensed"] .side-nav .side-nav-item {
        position: relative;
        z-index: 1060 !important;
    }

/* Make sure content starts after the collapsed sidebar */
[data-leftbar-size="condensed"] .content-page,
[data-leftbar-size="compact"] .content-page,
[data-sidenav-size="condensed"] .content-page,
html[data-sidenav-size="condensed"] .content-page,
body[data-leftbar-size="condensed"] .content-page {
    margin-left: 70px !important;
}







.kiosk-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 8% 12%, rgba(25, 118, 210, 0.055), transparent 28%), linear-gradient(180deg, var(--mud-palette-background) 0%, var(--mud-palette-background-grey) 100%);
    outline: none;
}

.kiosk-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(125deg, #0758ba 0%, #086ccc 52%, #0d83e7 100%);
    box-shadow: 0 8px 26px rgba(7, 87, 184, 0.20);
}

    .kiosk-hero::before {
        position: absolute;
        top: -240px;
        left: 29%;
        width: 620px;
        height: 620px;
        content: "";
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.035);
        pointer-events: none;
    }

    .kiosk-hero::after {
        position: absolute;
        top: -220px;
        right: -110px;
        width: 520px;
        height: 520px;
        content: "";
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.045);
        pointer-events: none;
    }

.kiosk-hero-container {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.kiosk-hero-content,
.kiosk-hero-copy {
    min-width: 0;
}

.kiosk-hero-avatar {
    flex: 0 0 auto;
    width: 112px !important;
    height: 112px !important;
    color: #086bd3 !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(0, 38, 100, 0.24);
}

.kiosk-hero-icon {
    width: 54px !important;
    height: 54px !important;
    font-size: 54px !important;
}

.kiosk-hero-title {
    color: #ffffff !important;
    font-size: clamp(2.15rem, 3.2vw, 3.45rem) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
}

.kiosk-hero-subtitle {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: clamp(1rem, 1.45vw, 1.32rem) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.kiosk-hero-badge-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.kiosk-hero-badge {
    min-width: 255px;
    padding: 22px 28px;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px !important;
    background: rgba(0, 74, 168, 0.22) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 46, 112, 0.13);
    backdrop-filter: blur(8px);
}

.kiosk-badge-icon {
    width: 38px !important;
    height: 38px !important;
    color: #ffffff !important;
    font-size: 38px !important;
}

.kiosk-badge-text {
    color: #ffffff !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.kiosk-content-container {
    padding-top: 46px;
    padding-bottom: 44px;
}

.kiosk-stepper-section {
    width: 100%;
}

.kiosk-stepper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 72px;
    width: 100%;
}

.kiosk-step-item {
    position: relative;
    min-width: 0;
}

    .kiosk-step-item:not(:last-child)::before {
        position: absolute;
        top: 50%;
        right: -72px;
        width: 72px;
        content: "";
        border-top: 2px dashed rgba(72, 104, 145, 0.46);
        transform: translateY(-50%);
        pointer-events: none;
    }

    .kiosk-step-item:not(:last-child)::after {
        position: absolute;
        z-index: 3;
        top: 50%;
        right: -50px;
        display: flex;
        width: 42px;
        height: 42px;
        content: "›";
        align-items: center;
        justify-content: center;
        color: #3e526c;
        border: 1px solid rgba(84, 112, 148, 0.38);
        border-radius: 50%;
        background: var(--mud-palette-surface);
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
        font-size: 2.1rem;
        line-height: 1;
        transform: translateY(-50%);
        pointer-events: none;
    }

.kiosk-step-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    padding: 30px 28px;
    overflow: visible;
    cursor: pointer;
    border: 1px solid rgba(86, 105, 132, 0.32) !important;
    border-radius: 16px !important;
    background: var(--mud-palette-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

    .kiosk-step-card:hover:not(.kiosk-step-locked) {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(25, 118, 210, 0.11);
    }

.kiosk-step-card-content {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 22px;
    height: 100%;
    align-items: center;
}

.kiosk-step-visual {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.kiosk-step-number {
    position: absolute;
    z-index: 2;
    top: -16px;
    left: -2px;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 4px solid var(--mud-palette-surface);
    border-radius: 50%;
    background: var(--mud-palette-primary);
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.24);
    font-size: 1.25rem;
    font-weight: 800;
}

.kiosk-step-icon {
    width: 112px !important;
    height: 112px !important;
    color: var(--mud-palette-primary) !important;
    background: rgba(25, 118, 210, 0.09) !important;
}

.kiosk-step-material-icon {
    width: 54px !important;
    height: 54px !important;
    font-size: 54px !important;
}

.kiosk-step-copy {
    min-width: 0;
}

.kiosk-step-label {
    color: var(--mud-palette-primary) !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.035em !important;
}

.kiosk-step-title {
    color: var(--mud-palette-text-primary) !important;
    font-size: clamp(1.25rem, 1.55vw, 1.62rem) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
}

.kiosk-step-description {
    color: var(--mud-palette-text-secondary) !important;
    font-size: clamp(0.95rem, 1vw, 1.08rem) !important;
    line-height: 1.48 !important;
}

.kiosk-step-card.kiosk-step-active {
    border-color: var(--mud-palette-primary) !important;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.075), rgba(25, 118, 210, 0.018)), var(--mud-palette-surface);
    box-shadow: 0 0 0 1px rgba(25, 118, 210, 0.18), 0 14px 32px rgba(25, 118, 210, 0.10);
}

.kiosk-step-card.kiosk-step-complete {
    border-color: var(--mud-palette-success) !important;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.10), rgba(76, 175, 80, 0.025)), var(--mud-palette-surface);
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.14);
}

    .kiosk-step-card.kiosk-step-complete .kiosk-step-number {
        background: var(--mud-palette-success);
        box-shadow: 0 6px 16px rgba(76, 175, 80, 0.24);
    }

    .kiosk-step-card.kiosk-step-complete .kiosk-step-icon {
        color: var(--mud-palette-success) !important;
        background: rgba(76, 175, 80, 0.11) !important;
    }

    .kiosk-step-card.kiosk-step-complete .kiosk-step-label {
        color: var(--mud-palette-success) !important;
    }

.kiosk-step-card.kiosk-step-available {
    border-color: rgba(25, 118, 210, 0.38) !important;
}

.kiosk-step-card.kiosk-step-locked {
    cursor: not-allowed;
    opacity: 0.68;
    border-color: rgba(86, 105, 132, 0.25) !important;
    background: rgba(120, 130, 145, 0.025);
    box-shadow: none;
}

    .kiosk-step-card.kiosk-step-locked .kiosk-step-number {
        color: #ffffff;
        background: #87919d;
        box-shadow: none;
    }

    .kiosk-step-card.kiosk-step-locked .kiosk-step-icon {
        color: #65707d !important;
        background: rgba(100, 110, 125, 0.075) !important;
    }

    .kiosk-step-card.kiosk-step-locked .kiosk-step-label,
    .kiosk-step-card.kiosk-step-locked .kiosk-step-title,
    .kiosk-step-card.kiosk-step-locked .kiosk-step-description {
        color: var(--mud-palette-text-secondary) !important;
    }

.kiosk-welcome-panel {
    padding: 24px 30px;
    border: 1px solid rgba(25, 118, 210, 0.16);
    border-radius: 15px !important;
    background: linear-gradient(90deg, rgba(25, 118, 210, 0.10), rgba(25, 118, 210, 0.045)) !important;
}

.kiosk-welcome-content {
    min-height: 56px;
}

.kiosk-welcome-avatar {
    flex: 0 0 auto;
    width: 48px !important;
    height: 48px !important;
    color: #ffffff !important;
    background: var(--mud-palette-primary) !important;
}

.kiosk-welcome-icon {
    width: 27px !important;
    height: 27px !important;
    font-size: 27px !important;
}

.kiosk-welcome-copy {
    min-width: 0;
    flex-wrap: wrap;
}

.kiosk-welcome-title {
    color: var(--mud-palette-primary) !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.kiosk-welcome-message {
    color: var(--mud-palette-text-primary) !important;
    line-height: 1.5 !important;
}

.kiosk-panel {
    height: 100%;
    padding: 28px;
    border-radius: 16px !important;
    background: var(--mud-palette-surface);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
}

.kiosk-primary-panel {
    border-top: 4px solid var(--mud-palette-primary) !important;
}

.kiosk-help-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 4px solid var(--mud-palette-info) !important;
}

.kiosk-help-avatar {
    width: 92px !important;
    height: 92px !important;
}

.kiosk-full-divider {
    width: 100%;
}

.kiosk-section-chip {
    align-self: flex-start;
    min-width: 76px;
    font-weight: 800;
    text-transform: uppercase;
}

.kiosk-large-input .mud-input-root {
    min-height: 64px;
    font-size: 1.05rem;
}

.kiosk-large-input .mud-input-label {
    font-size: 1rem;
}

.kiosk-primary-button {
    min-height: 58px;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.18);
}

.kiosk-privacy-panel {
    padding: 18px;
    border: 1px solid rgba(25, 118, 210, 0.16);
    border-radius: 12px !important;
    background: rgba(25, 118, 210, 0.055);
}

.kiosk-count-chip {
    min-height: 38px;
    font-size: 0.95rem;
}

.kiosk-action-toolbar {
    flex-wrap: wrap;
}

.kiosk-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
}

.kiosk-package-table {
    min-width: 720px;
}

    .kiosk-package-table .mud-table-head {
        background: var(--mud-palette-background-grey);
    }

    .kiosk-package-table .mud-table-cell {
        padding-top: 18px;
        padding-bottom: 18px;
    }

.kiosk-summary-panel {
    position: sticky;
    top: 24px;
    height: auto;
    border-top: 4px solid var(--mud-palette-success) !important;
}

.kiosk-summary-metrics {
    padding: 20px;
    border: 1px solid rgba(76, 175, 80, 0.28);
    border-radius: 12px !important;
    background: rgba(76, 175, 80, 0.06);
}

.kiosk-success-panel {
    padding: 56px 32px;
    border-radius: 20px !important;
    border-color: rgba(76, 175, 80, 0.45) !important;
    background: radial-gradient( circle at top, rgba(76, 175, 80, 0.12), transparent 38% ), var(--mud-palette-surface);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.1);
}

.kiosk-success-avatar {
    width: 110px !important;
    height: 110px !important;
    box-shadow: 0 14px 32px rgba(76, 175, 80, 0.24);
}

.kiosk-queue-card {
    width: 100%;
    max-width: 480px;
    padding: 32px;
    border-radius: 16px !important;
    border-color: rgba(25, 118, 210, 0.38) !important;
    background: rgba(25, 118, 210, 0.045);
}

.kiosk-queue-number {
    font-size: clamp(4rem, 9vw, 7rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.045em;
    line-height: 1;
}

.kiosk-reset-alert {
    width: 100%;
    max-width: 620px;
}

.kiosk-new-request-button {
    min-width: 250px;
    min-height: 56px;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.kiosk-footer-help {
    padding: 20px 24px;
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 14px !important;
    background: rgba(255, 152, 0, 0.06);
}

.kiosk-loading-overlay {
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-loading-card {
    min-width: 280px;
    padding: 32px;
    border-radius: 16px !important;
}



@media (min-width: 960px) and (max-width: 1279.98px) {
    .kiosk-stepper-grid {
        gap: 46px;
    }

    .kiosk-step-item:not(:last-child)::before {
        right: -46px;
        width: 46px;
    }

    .kiosk-step-item:not(:last-child)::after {
        right: -35px;
        width: 34px;
        height: 34px;
        font-size: 1.7rem;
    }

    .kiosk-step-card {
        min-height: 210px;
        padding: 24px 18px;
    }

    .kiosk-step-card-content {
        grid-template-columns: 106px minmax(0, 1fr);
        gap: 14px;
    }

    .kiosk-step-icon {
        width: 90px !important;
        height: 90px !important;
    }

    .kiosk-step-material-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 44px !important;
    }

    .kiosk-step-number {
        top: -13px;
        left: -2px;
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}

@media (min-width: 600px) and (max-width: 959.98px) {
    .kiosk-hero-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .kiosk-hero-avatar {
        width: 84px !important;
        height: 84px !important;
    }

    .kiosk-hero-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 42px !important;
    }

    .kiosk-hero-badge {
        min-width: 0;
        padding: 18px 16px;
    }

    .kiosk-badge-text {
        font-size: 1rem !important;
    }

    .kiosk-content-container {
        padding-top: 32px;
    }

    .kiosk-stepper-grid {
        gap: 26px;
    }

    .kiosk-step-item:not(:last-child)::before {
        right: -26px;
        width: 26px;
    }

    .kiosk-step-item:not(:last-child)::after {
        right: -21px;
        width: 28px;
        height: 28px;
        font-size: 1.45rem;
    }

    .kiosk-step-card {
        min-height: 210px;
        padding: 22px 14px;
    }

    .kiosk-step-card-content {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .kiosk-step-visual {
        width: 96px;
    }

    .kiosk-step-icon {
        width: 84px !important;
        height: 84px !important;
    }

    .kiosk-step-material-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 40px !important;
    }

    .kiosk-step-number {
        top: -12px;
        left: -7px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .kiosk-step-title {
        font-size: 1.15rem !important;
    }

    .kiosk-step-description {
        font-size: 0.9rem !important;
    }

    .kiosk-welcome-panel {
        padding: 20px 24px;
    }

    .kiosk-summary-panel {
        position: static;
    }
}

@media (max-width: 599.98px) {
    .kiosk-hero-container {
        padding: 24px 16px;
    }

    .kiosk-hero-content {
        align-items: flex-start !important;
    }

    .kiosk-hero-avatar {
        width: 66px !important;
        height: 66px !important;
    }

    .kiosk-hero-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 34px !important;
    }

    .kiosk-hero-title {
        font-size: 1.8rem !important;
    }

    .kiosk-hero-subtitle {
        font-size: 0.95rem !important;
    }

    .kiosk-hero-badge-column {
        justify-content: stretch;
    }

    .kiosk-hero-badge {
        width: 100%;
        min-width: 0;
        padding: 15px 18px;
    }

    .kiosk-content-container {
        padding: 22px 12px 32px;
    }

    .kiosk-stepper-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kiosk-step-item::before, .kiosk-step-item::after {
        display: none !important;
    }

    .kiosk-step-card {
        min-height: 150px;
        padding: 20px;
    }

    .kiosk-step-card-content {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 16px;
    }

    .kiosk-step-icon {
        width: 78px !important;
        height: 78px !important;
    }

    .kiosk-step-material-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 38px !important;
    }

    .kiosk-step-number {
        top: -10px;
        left: -7px;
        width: 36px;
        height: 36px;
        border-width: 3px;
        font-size: 0.95rem;
    }

    .kiosk-step-title {
        font-size: 1.2rem !important;
    }

    .kiosk-welcome-panel {
        padding: 18px;
    }

    .kiosk-welcome-content {
        align-items: flex-start !important;
    }

    .kiosk-welcome-copy {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }

    .kiosk-panel {
        padding: 20px;
    }

    .kiosk-responsive-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .kiosk-action-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

        .kiosk-action-toolbar .mud-button-root {
            width: 100%;
        }

    .kiosk-footer-help > .mud-stack {
        align-items: flex-start !important;
    }

    .kiosk-success-panel {
        padding: 36px 18px;
    }

    .kiosk-queue-card {
        padding: 24px 16px;
    }

    .kiosk-new-request-button {
        width: 100%;
        min-width: 0;
    }

    .kiosk-summary-panel {
        position: static;
    }
}