:root {
    --theme-color: #00897b;
}
body {
    background: #f7f7f7;
    color: #344054;
}
.btn-theme {
    background: var(--theme-color) !important;
    color: #fff !important;
}
.color-blue {
    color: #56b4e4 !important;
}
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.portal-bar {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}
.portal-bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}
.portal-brand {
    font-weight: 600;
    color: #00897b;
    text-decoration: none;
    margin-right: auto;
}
.portal-menu {
    position: relative;
}
.portal-menu summary {
    list-style: none;
    cursor: pointer;
}
.portal-menu summary::-webkit-details-marker {
    display: none;
}
.portal-menu-panel {
    position: absolute;
    right: 0;
    z-index: 20;
    min-width: 220px;
    margin-top: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}
.portal-menu-panel form,
.portal-menu-panel button {
    width: 100%;
}
.portal-menu-panel button {
    text-align: left;
    background: none;
    border: 0;
    padding: 8px;
}
.portal-menu-panel button:hover {
    background: #f2f4f7;
}
body:has(.kiosk-signin) {
    background: #f3f4f6;
}
.kiosk-signin {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 32px;
    background: #f3f4f6;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #1d2433;
}
.kiosk-signin-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
    padding: 36px 36px 32px;
}
.kiosk-signin-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}
.kiosk-signin-brand img {
    display: block;
    height: 28px;
    width: auto;
}
.kiosk-signin h1 {
    margin: 0 0 8px;
    color: #1a1f2b;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.kiosk-signin-lead {
    margin: 0 0 26px;
    color: #667085;
    font-size: 14.5px;
    line-height: 1.45;
}
.kiosk-signin label {
    display: block;
    margin: 0 0 6px;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
}
.kiosk-signin input {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0 0 16px;
    padding: 0 14px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
    color: #1d2433;
    font-size: 15px;
    outline: none;
}
.kiosk-signin input:focus {
    border-color: #00897b;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.12);
}
.kiosk-signin-password {
    position: relative;
    margin-bottom: 18px;
}
.kiosk-signin-password input {
    margin-bottom: 0;
    padding-right: 44px;
}
.kiosk-signin-password.is-invalid {
    margin-bottom: 0;
}
.kiosk-signin-password.is-invalid input {
    border-color: #f04438;
    box-shadow: none;
}
.kiosk-signin-password button {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #667085;
    cursor: pointer;
}
.kiosk-signin-password button svg {
    width: 20px;
    height: 20px;
}
.kiosk-signin-password .eye-shut,
.kiosk-signin-password button.is-visible .eye-open {
    display: none;
}
.kiosk-signin-password button.is-visible .eye-shut {
    display: block;
}
.kiosk-signin-error {
    margin: 8px 0 0;
    color: #d92d20;
    font-size: 12.5px;
    line-height: 1.4;
}
.kiosk-signin-submit {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: #00897b;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.kiosk-signin-submit:hover {
    background: #00796b;
}
.kiosk-signin-links {
    margin: 16px 0 0;
    color: #667085;
    font-size: 14px;
    text-align: center;
}
.kiosk-signin-links a {
    color: #00897b;
    font-weight: 600;
    text-decoration: none;
}
.kiosk-signin-links a:hover {
    text-decoration: underline;
}
.kiosk-signin-links span[aria-hidden] {
    margin: 0 8px;
    color: #98a2b3;
}
.kiosk-signin-powered {
    margin: 28px 0 0;
    color: #98a2b3;
    font-size: 14px;
}
.kiosk-signin-version {
    margin: 8px 0 0;
    color: #98a2b3;
    font-size: 14px;
}
.kiosk-signin-version a {
    color: inherit;
    text-decoration: none;
}
.kiosk-signin-version a:hover {
    text-decoration: underline;
}
@media (max-width: 520px) {
    .kiosk-signin-card {
        padding: 28px 22px 24px;
    }
    .kiosk-signin h1 {
        font-size: 26px;
    }
}
.portal-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px;
}
.portal-error {
    color: #b42318;
    font-size: 14px;
}
.div-rom {
    background: #00897b;
}
.navbar-px {
    padding-left: 15px;
    padding-right: 15px;
}
.navbar-brand img {
    height: 32px;
    width: auto;
}
.portal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
}
.portal-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}
.portal-top-label,
.portal-top-link,
.div-rom .portal-menu summary {
    color: #fff;
    font-size: 14px;
}
.portal-top-link {
    text-decoration: none;
}
.portal-top-link:hover {
    color: #fff;
    text-decoration: underline;
}
.portal-logout {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #fff;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
}
.portal-module {
    font-size: 16px;
    text-decoration: none;
}
.theme-color {
    color: #00897b !important;
}
.custom-icon {
    width: 22px;
    height: 22px;
    fill: #9c9c9c;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link {
    color: #00897b;
}
.navbar-light .navbar-nav .active > .nav-link .custom-icon,
.navbar-light .navbar-nav .nav-link:hover .custom-icon {
    fill: #00897b;
}
.portal-shell {
    margin-top: 112px;
    min-height: calc(100vh - 280px);
    padding-bottom: 24px;
}
.footer {
    background: #000;
    padding: 20px 0 28px;
    line-height: 35px;
}
.new-footer ul {
    margin: 0;
}
.new-footer ul li {
    font-size: 80%;
    line-height: 35px;
    list-style: none;
}
.new-footer ul li a:hover {
    text-decoration: underline;
    color: #fff !important;
}
@media (max-width: 767.98px) {
    .navbar-px {
        padding: 0 19px;
    }
    .portal-shell {
        margin-top: 108px;
    }
    .footer {
        line-height: 25px;
        padding-top: 25px;
    }
    .new-footer ul li {
        line-height: 25px;
    }
}
body.kiosk-config-body {
    margin: 0;
    background: #f3f4f6;
    color: #1d2433;
}
.kiosk-config-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
}
.kiosk-config-green {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 0 20px;
    background: #00897b;
}
.kiosk-config-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}
.kiosk-config-logo img {
    height: 32px;
    width: auto;
}
.kiosk-config-brand {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.kiosk-config-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #fff;
}
.kiosk-config-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    padding: 8px 20px;
    border-bottom: 1px solid #e7e9ee;
    background: #fff;
}
.kiosk-config-module {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00897b;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.kiosk-config-module svg,
.kiosk-config-nav svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.kiosk-config-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-left: auto;
}
.kiosk-config-nav a,
.kiosk-config-nav span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.kiosk-config-nav a:hover,
.kiosk-config-nav a.is-active {
    color: #00897b;
}
.kiosk-config-nav a[data-passkey-mode] {
    cursor: pointer;
}
.kiosk-config-nav .is-unavailable {
    color: #b0b7c3;
    cursor: default;
}
.kiosk-config {
    padding: 8px 24px 48px;
}
.kiosk-config-title {
    margin: 18px 0 6px;
    color: #1a1f2b;
    font-size: 22px;
    font-weight: 650;
}
.kiosk-config-lead {
    margin: 0 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}
.kiosk-config-points {
    margin: 0;
    padding-left: 18px;
    color: #344054;
    line-height: 1.7;
}
@media (max-width: 860px) {
    .kiosk-config-menu {
        align-items: flex-start;
        flex-direction: column;
    }
    .kiosk-config-nav {
        margin-left: 0;
        justify-content: flex-start;
    }
}
body.kiosk-run-body {
    margin: 0;
    background: #f3f4f6;
    color: #1d2433;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.kiosk-run-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 0 28px;
    background: #fff;
    border-bottom: 1px solid #e7e9ee;
}
.kiosk-run-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #00897b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}
.kiosk-run-brand img {
    display: block;
    height: 28px;
    width: auto;
}
.kiosk-run-user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}
.kiosk-now {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 6px 12px 6px 10px;
    border: 1px solid #c9eadf;
    border-radius: 12px;
    background: #eef8f4;
    color: #0f7668;
    text-decoration: none;
}
.kiosk-now.is-on {
    display: inline-flex;
}
.kiosk-now svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
.kiosk-now-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}
.kiosk-now-copy small {
    color: #667085;
    font-size: 11px;
    font-weight: 600;
}
.kiosk-now-copy strong {
    color: #0f7668;
    font-size: 14px;
    font-weight: 700;
}
.kiosk-run-identity {
    min-width: 0;
    text-align: right;
}
.kiosk-run-identity strong,
.kiosk-run-identity span {
    display: block;
}
.kiosk-run-identity strong {
    max-width: 240px;
    overflow: hidden;
    color: #1d2433;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kiosk-run-identity span {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.2;
}
.kiosk-run-user form {
    margin: 0;
}
.kiosk-run-user button {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.kiosk-run-user button:hover {
    background: #f8fafc;
}
.kiosk-run {
    padding: 28px 28px 64px;
}
.kiosk-run h1 {
    margin: 0 0 6px;
    color: #1a1f2b;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.kiosk-run-lead {
    margin: 0 0 22px;
    color: #667085;
    font-size: 15px;
    line-height: 1.45;
}
.kiosk-run-empty {
    margin: 0;
    color: #667085;
}
.kiosk-run-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    color: #00897b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.kiosk-run-back svg {
    width: 16px;
    height: 16px;
}
.kiosk-run-back:hover {
    color: #00796b;
}
.kiosk-device-grid {
    display: grid;
    gap: 16px;
}
.kiosk-device-empty {
    max-width: 420px;
    padding: 22px 18px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #fff;
}
.kiosk-device-empty h2 {
    margin: 0 0 6px;
    color: #1a1f2b;
    font-size: 18px;
}
.kiosk-device-empty p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}
.kiosk-device {
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.kiosk-device.is-current {
    border-color: #0d8a78;
    box-shadow: 0 0 0 1px #0d8a78;
}
.kiosk-device-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.kiosk-device-head h2 {
    margin: 0;
    color: #1a1f2b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.kiosk-device-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.4;
}
.kiosk-device-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.kiosk-device-status.is-available,
.kiosk-device-status.is-running {
    background: #e7f6ee;
    color: #17803d;
}
.kiosk-device-status.is-occupied {
    background: #fbf6e4;
    color: #a16207;
}
.kiosk-device-note {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}
.kiosk-device-passkey {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    padding: 0 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
}
.kiosk-device-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}
.kiosk-device-configure,
.kiosk-device-run {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    height: 44px;
    border-radius: 8px;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}
.kiosk-device-configure {
    border: 1px solid #e4e7ec;
    background: #fff;
    color: #344054;
}
a.kiosk-device-configure:hover {
    background: #f8fafc;
}
.kiosk-device-run {
    border: 0;
    background: #00897b;
    color: #fff;
    cursor: pointer;
}
.kiosk-device-run:hover {
    background: #00796b;
}
.kiosk-device-run.is-stop {
    background: #c4534e;
}
.kiosk-device-run.is-stop:hover {
    background: #b34540;
}
.kiosk-device-configure:disabled,
.kiosk-device-run:disabled {
    border-color: #f2f4f7;
    background: #f2f4f7;
    color: #b0b7c3;
    cursor: default;
}
@media (min-width: 1100px) {
    .kiosk-device-grid[data-count="3"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .kiosk-device-grid[data-count="2"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kiosk-device-grid[data-count="1"] {
        grid-template-columns: minmax(0, 420px);
    }
    .kiosk-device-note {
        min-height: 3.6em;
    }
}
.kiosk-outlet-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.kiosk-outlet-card form {
    margin: 0;
}
.kiosk-outlet-card > * + * {
    border-top: 1px solid #eaecf0;
}
.kiosk-outlet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    border: 0;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
button.kiosk-outlet-item:hover {
    background: #f9fafb;
}
.kiosk-outlet-item:focus-visible {
    outline: 2px solid #00897b;
    outline-offset: -2px;
}
.kiosk-outlet-copy {
    min-width: 0;
}
.kiosk-outlet-title,
.kiosk-outlet-meta {
    display: block;
}
.kiosk-outlet-title {
    color: #1a1f2b;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
}
.kiosk-outlet-meta {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 13.5px;
    line-height: 1.35;
}
.kiosk-outlet-item svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #98a2b3;
}
.kiosk-outlet-item.is-disabled {
    cursor: default;
}
.kiosk-outlet-item.is-disabled .kiosk-outlet-title {
    color: #8b97a8;
    font-weight: 600;
}
.kiosk-outlet-item.is-disabled .kiosk-outlet-meta {
    color: #a8b0bd;
}
@media (min-width: 1100px) {
    .kiosk-run-bar,
    .kiosk-run {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 640px) {
    .kiosk-run-bar,
    .kiosk-run {
        padding-left: 16px;
        padding-right: 16px;
    }
    .kiosk-run h1 {
        font-size: 28px;
    }
    .kiosk-run-identity strong {
        max-width: 140px;
    }
}

.kiosk-config-error {
    margin: 16px 24px 0;
}
.kiosk-pay-layout.is-single .kiosk-pay-main {
    width: 100%;
}
.kiosk-staff-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.45);
}
.kiosk-staff-modal[hidden] {
    display: none;
}
.kiosk-staff-card {
    width: min(440px, 100%);
    padding: 28px 28px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18);
    text-align: left;
}
.kiosk-staff-card h2 {
    margin: 0 0 8px;
    color: #1a1f2b;
    font-size: 22px;
    font-weight: 650;
}
.kiosk-staff-card p {
    margin: 0 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}
.kiosk-staff-card label {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}
.kiosk-staff-card select {
    width: 100%;
    height: 42px;
    margin: 0 0 14px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #1a1f2b;
    font: inherit;
}
.kiosk-staff-field {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
}
.kiosk-staff-field.is-invalid {
    border-color: #d92d20;
}
.kiosk-staff-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 10px 12px;
    background: transparent;
    color: #1a1f2b;
    font-size: 15px;
}
.kiosk-staff-field button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #667085;
}
.kiosk-staff-field svg {
    width: 20px;
    height: 20px;
}
.kiosk-staff-field .eye-shut,
.kiosk-staff-field.is-visible .eye-open {
    display: none;
}
.kiosk-staff-field.is-visible .eye-shut {
    display: block;
}
.kiosk-staff-error {
    margin: 8px 0 0;
    color: #d92d20;
    font-size: 13px;
}
.kiosk-staff-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}
.kiosk-staff-actions button {
    min-width: 112px;
    min-height: 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}
#kioskPortalPasskeyCancel {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
}
#kioskPortalPasskeySubmit {
    border: 0;
    background: #00897b;
    color: #fff;
}
#kioskPortalPasskeyChooser[hidden] {
    display: none;
}
