:root {
    --sb: 260px;
    --hd: 64px
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: #F1F5F9;
    color: #1e293b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh
}

html.dark body {
    background: #0F172A;
    color: #E2E8F0
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 99px
}

html.dark ::-webkit-scrollbar-thumb {
    background: #334155
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sb);
    height: 100vh;
    background: #fff;
    border-right: 1px solid #E2E8F0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

html.dark .sidebar {
    background: #0F172A;
    border-right-color: #1E293B
}

@media(max-width:1023px) {
    .sidebar {
        transform: translateX(-100%)
    }

    .sidebar.open {
        transform: translateX(0)
    }
}

.sb-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 999
}

.sb-ov.on {
    display: block
}

.nav-i {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin: 0 12px 2px;
    transition: all .15s
}

.nav-i:hover {
    background: #F1F5F9;
    color: #334155
}

html.dark .nav-i:hover {
    background: #1E293B;
    color: #E2E8F0
}

.nav-i.on {
    background: #EFF6FF;
    color: #2563EB;
    font-weight: 600
}

html.dark .nav-i.on {
    background: rgba(37, 99, 235, .15);
    color: #60A5FA
}

.nav-i .ni {
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

.ng {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 16px 28px 6px
}

.header {
    position: fixed;
    top: 0;
    left: var(--sb);
    right: 0;
    height: var(--hd);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    z-index: 900;
    display: flex;
    align-items: center;
    padding: 0 24px;
    transition: left .3s
}

html.dark .header {
    background: rgba(15, 23, 42, .88);
    border-bottom-color: #1E293B
}

@media(max-width:1023px) {
    .header {
        left: 0
    }
}

.main {
    margin-left: var(--sb);
    padding-top: var(--hd);
    min-height: 100vh;
    transition: margin-left .3s
}

@media(max-width:1023px) {
    .main {
        margin-left: 0
    }
}

.card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px
}

html.dark .card {
    background: #1E293B;
    border-color: #334155
}

.sc {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden
}

html.dark .sc {
    background: #1E293B;
    border-color: #334155
}

.sc:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06)
}

.sc .deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: .08;
    pointer-events: none
}

.ib {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: background .15s
}

.btn-p {
    background: #2563EB;
    color: #fff
}

.btn-p:hover {
    background: #1D4ED8
}

.btn-o {
    background: #fff;
    color: #334155;
    border: 1px solid #E2E8F0
}

html.dark .btn-o {
    background: #1E293B;
    color: #E2E8F0;
    border-color: #334155
}

.btn-o:hover {
    background: #F8FAFC
}

html.dark .btn-o:hover {
    background: #334155
}

.btn-s {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 8px
}

.btn-d {
    background: #EF4444;
    color: #fff
}

.btn-d:hover {
    background: #DC2626
}

.av {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.fi {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #1E293B;
    outline: none;
    transition: border-color .15s
}

html.dark .fi {
    background: #0F172A;
    border-color: #334155;
    color: #E2E8F0
}

.fi:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

.fi-i {
    padding-left: 38px
}

.fi::placeholder {
    color: #94A3B8
}

select.fi {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px
}

textarea.fi {
    resize: none
}

.dd {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 180px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .2s;
    overflow: hidden
}

html.dark .dd {
    background: #1E293B;
    border-color: #334155
}

.dd.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.di {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #475569;
    cursor: pointer
}

html.dark .di {
    color: #CBD5E1
}

.di:hover {
    background: #F8FAFC
}

html.dark .di:hover {
    background: #334155
}

.np {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 340px;
    max-height: 400px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .2s;
    overflow: hidden
}

html.dark .np {
    background: #1E293B;
    border-color: #334155
}

.np.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

@media(max-width:480px) {
    .np {
        width: calc(100vw - 32px);
        right: -60px
    }
}

.nd {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid #fff
}

html.dark .nd {
    border-color: #0F172A
}

.mo {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s
}

.mo.open {
    opacity: 1;
    visibility: visible
}

.mb {
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .15);
    transform: scale(.95) translateY(10px);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1)
}

html.dark .mb {
    background: #1E293B;
    border: 1px solid #334155
}

.mo.open .mb {
    transform: scale(1) translateY(0)
}

.tc {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px
}

@media(max-width:480px) {
    .tc {
        right: 12px;
        left: 12px
    }
}

.ti {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    font-size: 14px;
    font-weight: 500;
    max-width: 360px;
    animation: tin .3s ease
}

html.dark .ti {
    background: #1E293B;
    border-color: #334155
}

@keyframes tin {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.ft {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    background: #fff;
    color: #64748B;
    transition: all .15s;
    white-space: nowrap
}

html.dark .ft {
    background: #1E293B;
    border-color: #334155;
    color: #94A3B8
}

.ft:hover {
    border-color: #2563EB;
    color: #2563EB
}

.ft.on {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #2563EB;
    font-weight: 600
}

html.dark .ft.on {
    background: rgba(37, 99, 235, .15);
    border-color: #3B82F6;
    color: #60A5FA
}

/* Cruise Card */
.cc {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s
}

html.dark .cc {
    background: #1E293B;
    border-color: #334155
}

.cc:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    border-color: #93C5FD
}

html.dark .cc:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .3)
}

.cc .ci {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s
}

.cc:hover .ci {
    transform: scale(1.05)
}

.cc .cb {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px)
}

.cc .cf {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s;
    z-index: 2
}

.cc .cf:hover {
    background: #fff;
    transform: scale(1.1)
}

.cc .cf.lk {
    background: #FEE2E2
}

/* Route Line for Cruise */
.cruise-route {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #F8FAFC;
    border-radius: 10px;
    overflow-x: auto;
    scrollbar-width: none
}

html.dark .cruise-route {
    background: #0F172A
}

.cruise-route::-webkit-scrollbar {
    display: none
}

.port-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0
}

.port-line {
    width: 24px;
    height: 2px;
    background: #CBD5E1;
    flex-shrink: 0
}

html.dark .port-line {
    background: #475569
}

.star-f {
    color: #F59E0B
}

.star-e {
    color: #E2E8F0
}

html.dark .star-e {
    color: #475569
}

/* Cabin Tags */
.cabin-tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600
}

.sd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0
}

@media(max-width:639px) {
    .hm {
        display: none !important
    }
}

@media(max-width:767px) {
    .ht {
        display: none !important
    }
}

.vb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    background: #fff;
    color: #94A3B8;
    transition: all .15s
}

html.dark .vb {
    background: #1E293B;
    border-color: #334155
}

.vb.on {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB
}

.iu {
    border: 2px dashed #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all .2s
}

html.dark .iu {
    border-color: #334155
}

.iu:hover {
    border-color: #2563EB;
    background: #EFF6FF
}

/* Cruise Line Logo */
.cl-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0
}