:root {
    --gk-accent: #ff851a;
    --gk-ink: #17181b;
    --gk-muted: #6b7280;
    --gk-bg: #f7f8fc;
    --gk-card: #ffffff;
    --gk-brand: #383679;
    --bg: #0b1020;
    --card: #0f1733;
    --card2: #0c1430;
    --border: rgba(255,255,255,.10);
    --shadow: 0 2px 2px #383679;
    --accent: #6d5efc;
}

.slot {
    position: relative;
}
.slot.booked {
    background: #ffe5e5;
    border: 1px solid #ff4d4d;
    color: #c40000;
}
.slot.booked:hover {
    background: #ffe5e5;
    border: 1px solid #ff4d4d;
    color: #c40000;
}
.mobile-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mobile-modal.hidden {
    display: none;
}

.mobile-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.mobile-modal-sheet {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 85%;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow-y: auto;
    animation: slideUp 0.25s ease-out;
    padding-bottom: 30px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: none;
    font-size: 20px;
}

.modal-body {
    padding: 15px;
}

.detail-card {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.label {
    font-weight: 600;
    color: #555;
}

.reason-box {
    margin-top: 8px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.slot-check {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all .15s ease;
}

.slot.selected {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34,197,94,.25);
}

.slot.selected .slot-check {
    opacity: 1;
    transform: scale(1);
}

.ramp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.ramp-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    background: #383679;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: transform .08s ease, box-shadow .15s ease, border .15s ease;
}

.ramp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.ramp-card.selected {
    border-color: #FF9B44;
    box-shadow: 0 0 0 2px rgba(255,155,68,.25);
}

.ramp-logo img,
.ramp-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    object-fit: cover;
}

.ramp-info {
    flex: 1;
}

.ramp-info strong {
    display: block;
    font-size: 14px;
    color: white;
}

.ramp-info p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    line-height: 1.35;
}

.ramp-price {
    font-weight: 700;
    font-size: 14px;
    color: #FF9B44;
    white-space: nowrap;
}

/* Selected Ramp Display Styles */
.selectedRampHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #383679 0%, #2d2d5f 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 155, 68, 0.2);
}

.selectedRampInfo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.selectedRampLogo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.selectedRampLogo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selectedRampInfo h3 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.selectedRampInfo p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 1.3;
}

.switchButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 155, 68, 0.15);
    border: 1px solid rgba(255, 155, 68, 0.4);
    border-radius: 12px;
    color: #FF9B44;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.switchButton:hover {
    background: rgba(255, 155, 68, 0.25);
    border-color: #FF9B44;
}

.switchButton span:last-child {
    display: inline-block;
    transition: transform 0.3s ease;
}

.switchButton:hover span:last-child {
    transform: rotate(180deg);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--text);
    background: var(--gk-bg);
}

a {
    color: inherit
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px 60px
}

.top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.company-info {
    text-align: center;
}

.brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(109,94,252,.25);
    position: relative;
}

.logo:after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 10px;
    background: #383679
}

.brand h1 {
    font-size: 14px;
    letter-spacing: .3px;
    margin: 0;
    color: var(--muted);
    font-weight: 600
}

.brand strong {
    display: block;
    font-size: 18px;
    margin-top: 2px;
    color: var(--text)
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #383679;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent2);
    box-shadow: 0 0 0 6px #FF9B44
}

.grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 16px
}

@@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr
    }
}

.card {
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .card .hd {
        padding: 18px 18px 14px;
        border-bottom: 1px solid var(--border)
    }

.title {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.2px
}

.sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4
}

form {
    padding: 18px
}

.section {
    margin-bottom: 18px
}

    .section:last-child {
        margin-bottom: 0
    }

.labelRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600
}

.hint {
    font-size: 12px;
    color: var(--muted)
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@@media (max-width: 600px) {
    .row {
        grid-template-columns: 1fr
    }
}

input, select, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    color: var(--text);
    outline: none;
    transition: border .15s ease, box-shadow .15s ease, transform .06s ease;
}

    input::placeholder, textarea::placeholder {
        color: rgba(170,178,214,.70)
    }

    input:focus, select:focus, textarea:focus {
        border-color: #383679;
    }

    input:disabled {
        opacity: .6
    }

.pillRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #383679;
    background: #383679;
    cursor: pointer;
    user-select: none;
    transition: transform .06s ease, background .15s ease, border .15s ease;
    font-size: 13px;
    color: var(--text);
}

    .pill:hover {
        transform: translateY(-1px);
        background: #383679
    }

    .pill[aria-checked="true"] {
        border-color: #383679;
        background: rgba(34,197,94,.10)
    }

.slots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px
}

@@media (max-width: 740px) {
    .slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@@media (max-width: 480px) {
    .slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.slot {
    color: white;
    padding: 12px 10px;
    border-radius: 16px;
    border: 1px solid #FF9B44;
    background: #383679;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .06s ease, border .15s ease, background .15s ease;
    position: relative;
}

    .slot:hover {
        transform: translateY(-1px);
        background: #383679;
    }

    .slot[aria-selected="true"] {
        border-color: rgba(109,94,252,.70);
        background: #383679;
    }

    .slot[aria-disabled="true"] {
        opacity: .45;
        cursor: not-allowed
    }

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px
}

.guest_btn {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--text);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    transition: transform .06s ease, background .15s ease, border .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.09)
    }

    .btn.primary {
        background: #383679;
        border-color: transparent
    }

        .btn.primary:hover {
            filter: brightness(1.02)
        }

    .btn:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none
    }

.msg {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    padding: 12px 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4
}

.side {
    padding: 18px
}

.kpi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px
}

.tile {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: #383679
}

    .tile h3 {
        margin: 0 0 6px;
        font-size: 14px;
        color: white
    }

    .tile p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45
    }

.small {
    font-size: 12px;
    color: black
}

.divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 14px 0
}

.footer {
    margin-top: 18px;
    color: rgba(170,178,214,.75);
    font-size: 12px;
    line-height: 1.45
}

.hidden {
    display: none !important
}

.spin {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #FF9B44;
    animation: s 1s linear infinite;
    display: inline-block;
}

@@keyframes s {
    to {
        transform: rotate(360deg)
    }
}
