
/* WHIF 2026 — Travel & Stay
   Scoped to .whif-travel-page to avoid changing the rest of the WHIF website.
   Keep this stylesheet under the project's static/css/travel.css path.
*/

.whif-travel-page {
    --travel-blue: #0066b3;
    --travel-blue-dark: #054c8a;
    --travel-blue-bright: #2389f7;
    --travel-navy: #092b52;
    --travel-text: #14243b;
    --travel-muted: #52647b;
    --travel-border: #dbe8f5;
    --travel-bg: #f6f9ff;
    --travel-sky: #eaf5ff;
    --travel-radius: 18px;
    --travel-shadow: 0 12px 34px rgba(19, 55, 96, .09);
    color: var(--travel-text);
    font-family: inherit;
    line-height: 1.55;
    background: #fff;
    overflow: clip;
}

.whif-travel-page *,
.whif-travel-page *::before,
.whif-travel-page *::after {
    box-sizing: border-box;
}

.whif-travel-page .container {
    width: min(100% - 36px, 1160px);
    margin-inline: auto;
}

.whif-travel-page :is(h1, h2, h3, h4, p) {
    margin-top: 0;
}

.whif-travel-page :is(h1, h2, h3, h4) {
    line-height: 1.25;
}

.whif-travel-page a {
    text-decoration: none;
}

.whif-travel-page a:focus-visible {
    outline: 3px solid #ffc845;
    outline-offset: 4px;
}

.whif-travel-page [id^="whif-"] {
    scroll-margin-top: 108px;
}

/* Hero */

.whif-travel-hero {
    position: relative;
    padding: 58px 0 68px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(ellipse at 75% 0%, rgba(151, 213, 255, .27), transparent 45%),
        linear-gradient(120deg, #074781 0%, #0066b3 56%, #3787c9 100%);
}

.whif-travel-hero-inner {
    position: relative;
}

.whif-travel-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    opacity: .95;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    transition: background .2s ease;
}

.whif-travel-back:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.whif-travel-eyebrow {
    margin: 22px 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.whif-travel-hero h1 {
    margin: 0 0 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.whif-travel-hero h1 span {
    color: #ffc845;
}

.whif-travel-hero-subtitle {
    margin-bottom: 16px;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
}

.whif-travel-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.whif-travel-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 700;
}

.whif-travel-hero-description {
    max-width: 670px;
    margin: 0 auto;
    color: #f3f8ff;
    font-size: 15px;
}

/* Quick access */

.whif-travel-quick-nav {
    padding: 25px 0 28px;
    background: #fff;
}

.whif-travel-nav-label {
    margin: 0 0 14px;
    color: var(--travel-blue);
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.whif-travel-quick-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 13px;
}

.whif-travel-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 98px;
    padding: 13px 8px;
    border: 1px solid var(--travel-border);
    border-radius: 14px;
    background: #fff;
    color: var(--travel-navy);
    box-shadow: 0 5px 15px rgba(11, 54, 104, .035);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.whif-travel-quick-item i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(135deg, var(--travel-blue), #449ce1);
    border-radius: 11px;
    font-size: 20px;
}

.whif-travel-quick-item:hover {
    color: var(--travel-blue);
    border-color: #7eb6ec;
    transform: translateY(-3px);
    box-shadow: var(--travel-shadow);
}

.whif-travel-quick-item:nth-child(2) i {
    background: #6656ce;
}

.whif-travel-quick-item:nth-child(3) i {
    background: #a24ac3;
}

.whif-travel-quick-item:nth-child(4) i {
    background: #e36d37;
}

.whif-travel-quick-item:nth-child(5) i {
    background: #079d86;
}

.whif-travel-quick-item:nth-child(6) i {
    background: #bd499c;
}

/* Important notice */

.whif-travel-notice-section {
    padding: 0 0 24px;
    background: #fff;
}

.whif-travel-alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 22px;
    background: #fff9e9;
    border: 1px solid #f8d98b;
    border-left: 5px solid #e9a516;
    border-radius: 13px;
}

.whif-travel-alert-icon {
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #f4a817;
    color: #fff;
    font-size: 19px;
}

.whif-travel-alert h2 {
    margin-bottom: 4px;
    color: #82510e;
    font-size: 17px;
    font-weight: 900;
}

.whif-travel-alert p {
    margin: 0;
    color: #815b22;
    font-size: 14px;
}

/* Common page layout */

.whif-travel-section {
    padding: 68px 0;
}

.whif-travel-venue-section,
.whif-travel-stay-section {
    background: var(--travel-bg);
}

.whif-travel-journey-section,
.whif-travel-delegate-section {
    background: #fff;
}

.whif-travel-section-heading {
    max-width: 770px;
    margin: 0 auto 30px;
    text-align: center;
}

.whif-travel-section-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--travel-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.whif-travel-section-heading h2 {
    margin-bottom: 10px;
    color: var(--travel-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(26px, 3.3vw, 38px);
    font-weight: 900;
}

.whif-travel-section-heading p {
    margin-bottom: 0;
    color: var(--travel-muted);
}

.whif-travel-surface {
    background: #fff;
    border: 1px solid var(--travel-border);
    border-radius: var(--travel-radius);
    box-shadow: var(--travel-shadow);
}

/* CTA / links */

.whif-travel-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.whif-travel-btn:hover {
    transform: translateY(-2px);
}

.whif-travel-btn-primary {
    background: linear-gradient(135deg, #0066b3, #2389f7);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 102, 179, .2);
}

.whif-travel-btn-primary:hover {
    background: var(--travel-blue-dark);
    color: #fff;
}

.whif-travel-btn-outline {
    border-color: var(--travel-blue);
    background: #fff;
    color: var(--travel-blue);
}

.whif-travel-btn-outline:hover {
    color: #fff;
    background: var(--travel-blue);
}

.whif-travel-btn-light {
    color: var(--travel-blue-dark);
    background: #fff;
}

.whif-travel-btn-light:hover {
    color: var(--travel-navy);
    background: #eaf5ff;
}

/* Venue */

.whif-travel-venue-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.whif-travel-venue-info {
    padding: 31px;
}

.whif-travel-tag {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 14px;
    color: var(--travel-blue);
    background: var(--travel-sky);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.whif-travel-venue-info h3 {
    margin-bottom: 10px;
    color: var(--travel-navy);
    font-size: 26px;
    font-weight: 900;
}

.whif-travel-venue-info h3 span {
    color: var(--travel-blue);
}

.whif-travel-venue-info > p {
    margin-bottom: 20px;
    color: var(--travel-muted);
}

.whif-travel-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 13px;
    padding: 13px;
    border-radius: 10px;
    background: #f3f8fd;
}

.whif-travel-detail > i {
    color: var(--travel-blue);
    font-size: 17px;
}

.whif-travel-detail div {
    display: grid;
    gap: 2px;
}

.whif-travel-detail strong {
    color: var(--travel-navy);
    font-size: 13px;
}

.whif-travel-detail span {
    color: var(--travel-muted);
    font-size: 13px;
}

.whif-travel-venue-info .whif-travel-btn {
    margin-top: 7px;
}

.whif-travel-map-wrap {
    min-height: 386px;
    padding: 8px;
    overflow: hidden;
}

.whif-travel-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 368px;
    border: 0;
    border-radius: 12px;
}

/* Travel method cards */

.whif-travel-journey-section .container {
    max-width: 1000px;
}

.whif-travel-mode-card {
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--travel-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(12, 51, 100, .055);
}

.whif-travel-mode-card:last-child {
    margin-bottom: 0;
}

.whif-travel-mode-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--travel-border);
    background: #f0f7ff;
}

.whif-travel-mode-header > div {
    flex: 1;
    min-width: 0;
}

.whif-travel-mode-icon {
    display: grid;
    flex: 0 0 43px;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: var(--travel-blue);
    color: #fff;
    font-size: 20px;
}

.whif-travel-mode-header h3 {
    margin-bottom: 2px;
    color: var(--travel-navy);
    font-size: 19px;
    font-weight: 900;
}

.whif-travel-mode-header p {
    margin: 0;
    color: var(--travel-muted);
    font-size: 13px;
}

.whif-travel-code {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--travel-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
}

.whif-travel-mode-body {
    padding: 22px;
}

.whif-travel-mode-body > p {
    color: var(--travel-muted);
    font-size: 14px;
}

.whif-travel-mode-body > .whif-travel-btn {
    margin-top: 5px;
}

.whif-travel-transfer-options,
.whif-travel-station-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.whif-travel-transfer-options > div,
.whif-travel-station {
    padding: 18px;
    border: 1px solid #cfe5f8;
    border-radius: 12px;
    background: #f3faff;
}

.whif-travel-transfer-options > div:nth-child(2),
.whif-travel-station:nth-child(2) {
    background: #f8f5ff;
    border-color: #e4d8fd;
}

.whif-travel-transfer-options strong {
    color: var(--travel-navy);
    font-size: 14px;
}

.whif-travel-transfer-options p {
    margin: 5px 0 0;
    color: var(--travel-muted);
    font-size: 13px;
}

.whif-travel-station-code {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 7px;
    background: var(--travel-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.whif-travel-station:nth-child(2) .whif-travel-station-code {
    background: #6656ce;
}

.whif-travel-station h4 {
    margin-bottom: 6px;
    color: var(--travel-navy);
    font-size: 16px;
    font-weight: 800;
}

.whif-travel-station p {
    margin: 0;
    color: var(--travel-muted);
    font-size: 13px;
}

.whif-travel-inline-note,
.whif-travel-document-pending {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eaf7fb;
    color: #37637b !important;
    font-size: 13px !important;
}

.whif-travel-document-pending {
    background: #fff8e7;
    color: #805d19 !important;
}

.whif-travel-document-pending i {
    flex: 0 0 auto;
}

/* Hotel / dormitory */

.whif-travel-stay-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.whif-travel-stay-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border-top: 4px solid #06aa90;
}

.whif-travel-dorm-card {
    border-top-color: #6656ce;
}

.whif-travel-stay-icon {
    display: inline-grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 16px;
    border-radius: 13px;
    background: #e4f9f4;
    color: #079d86;
    font-size: 22px;
}

.whif-travel-dorm-card .whif-travel-stay-icon {
    background: #f0ecff;
    color: #6656ce;
}

.whif-travel-stay-card h3 {
    margin-bottom: 10px;
    color: var(--travel-navy);
    font-size: 21px;
    font-weight: 900;
}

.whif-travel-stay-card > p:not(.whif-travel-document-pending) {
    color: var(--travel-muted);
    font-size: 14px;
}

.whif-travel-stay-card > .whif-travel-btn,
.whif-travel-stay-card > .whif-travel-document-pending {
    margin-top: auto;
}

.whif-travel-contact-details {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 14px;
    margin: 4px 0 18px;
    border: 1px solid #dce8f8;
    border-radius: 12px;
    background: #f7faff;
}

.whif-travel-contact-details span {
    color: var(--travel-muted);
    font-size: 12px;
    font-weight: 700;
}

.whif-travel-contact-details strong {
    color: var(--travel-navy);
    font-size: 18px;
}

.whif-travel-contact-details a {
    width: fit-content;
    color: var(--travel-blue);
    font-weight: 800;
}

.whif-travel-contact-details a:hover {
    text-decoration: underline;
}

.whif-travel-accommodation-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 16px;
    margin: 20px 0 0;
    border: 1px solid #cfe5f8;
    border-radius: 10px;
    background: #fff;
    color: var(--travel-muted);
    font-size: 13px;
}

/* Delegate transport */

.whif-travel-delegate-section {
    padding: 58px 0;
}

.whif-travel-delegate-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding: 27px 30px;
}

.whif-travel-delegate-card > .whif-travel-stay-icon {
    flex: 0 0 49px;
    background: #eaf5ff;
    color: var(--travel-blue);
}

.whif-travel-delegate-card h2 {
    color: var(--travel-navy);
    font-size: 22px;
    font-weight: 900;
}

.whif-travel-delegate-card p {
    margin-bottom: 0;
    color: var(--travel-muted);
    font-size: 14px;
}

/* Help / contact */

.whif-travel-help-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #112b62 0%, #193e80 50%, #0066b3 100%);
}

.whif-travel-help-card {
    color: #fff;
    text-align: center;
}

.whif-travel-help-icon {
    display: inline-grid;
    place-items: center;
    width: 57px;
    height: 57px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .17);
    font-size: 27px;
}

.whif-travel-help-card h2 {
    margin-bottom: 8px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(27px, 3.2vw, 38px);
}

.whif-travel-help-card > p {
    max-width: 630px;
    margin: 0 auto 22px;
    color: #e3eefc;
}

.whif-travel-help-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Responsive layouts */

@media (max-width: 991px) {
    .whif-travel-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .whif-travel-venue-grid {
        grid-template-columns: 1fr;
    }

    .whif-travel-map-wrap {
        min-height: 350px;
    }

    .whif-travel-map-wrap iframe {
        min-height: 330px;
    }

    .whif-travel-section {
        padding: 54px 0;
    }
}

@media (max-width: 640px) {
    .whif-travel-page .container {
        width: min(100% - 28px, 1160px);
    }

    .whif-travel-hero {
        padding: 38px 0 48px;
    }

    .whif-travel-eyebrow {
        font-size: 10px;
        letter-spacing: .09em;
    }

    .whif-travel-hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .whif-travel-hero-meta span {
        font-size: 12px;
    }

    .whif-travel-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .whif-travel-quick-item {
        min-height: 95px;
        font-size: 11px;
        padding: 11px 5px;
    }

    .whif-travel-quick-item i {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .whif-travel-alert {
        padding: 15px;
        gap: 11px;
    }

    .whif-travel-alert-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .whif-travel-section {
        padding: 42px 0;
    }

    .whif-travel-venue-info {
        padding: 22px 18px;
    }

    .whif-travel-venue-info h3 {
        font-size: 22px;
    }

    .whif-travel-map-wrap {
        min-height: 300px;
    }

    .whif-travel-map-wrap iframe {
        min-height: 280px;
    }

    .whif-travel-mode-header {
        padding: 15px;
        gap: 10px;
    }

    .whif-travel-mode-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 18px;
    }

    .whif-travel-mode-header h3 {
        font-size: 17px;
    }

    .whif-travel-mode-header p {
        font-size: 12px;
    }

    .whif-travel-code {
        padding: 5px 8px;
        font-size: 10px;
    }

    .whif-travel-mode-body {
        padding: 17px;
    }

    .whif-travel-transfer-options,
    .whif-travel-station-grid,
    .whif-travel-stay-grid {
        grid-template-columns: 1fr;
    }

    .whif-travel-stay-card {
        padding: 22px;
    }

    .whif-travel-delegate-card {
        padding: 22px;
        gap: 13px;
    }

    .whif-travel-delegate-card h2 {
        font-size: 19px;
    }

    .whif-travel-btn {
        width: 100%;
    }

    .whif-travel-help-actions {
        flex-direction: column;
        align-items: center;
    }

    .whif-travel-help-actions .whif-travel-btn {
        max-width: 350px;
    }
}

@media (max-width: 380px) {
    .whif-travel-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .whif-travel-delegate-card {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whif-travel-page *,
    .whif-travel-page *::before,
    .whif-travel-page *::after {
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Full recommended-hotel table; isolated from the rest of the website. */

.whif-travel-hotels-section {
    background: #fff;
}

.whif-travel-hotel-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 15px 18px;
    border: 1px solid #f0cf86;
    border-left: 4px solid #dfa02e;
    border-radius: 12px;
    background: #fffbf1;
    color: #7c5b2b;
}

.whif-travel-hotel-notice > i {
    flex: 0 0 auto;
    font-size: 20px;
}

.whif-travel-hotel-notice p {
    margin: 0;
    font-size: 13px;
}

.whif-travel-hotel-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.whif-travel-hotel-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.whif-travel-filter-label {
    color: var(--travel-navy);
    font-size: 13px;
    font-weight: 800;
    margin-right: 4px;
}

.whif-travel-hotel-filter {
    padding: 7px 15px;
    border: 1px solid #cbdcec;
    border-radius: 999px;
    background: #fff;
    color: var(--travel-blue-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.whif-travel-hotel-filter:hover {
    background: #edf6ff;
    border-color: var(--travel-blue);
}

.whif-travel-hotel-filter.is-active,
.whif-travel-hotel-filter[aria-pressed="true"] {
    background: var(--travel-blue);
    color: #fff;
    border-color: var(--travel-blue);
}

.whif-travel-hotel-count {
    white-space: nowrap;
    color: var(--travel-muted);
    font-size: 12px;
    font-weight: 800;
}

.whif-travel-hotel-scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--travel-border);
    border-radius: 15px;
    box-shadow: 0 9px 32px rgba(7, 45, 91, .07);
    scrollbar-width: thin;
}

.whif-travel-hotel-scroll:focus-visible {
    outline: 3px solid #ffc845;
    outline-offset: 3px;
}

.whif-travel-hotel-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 1030px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.whif-travel-hotel-table thead {
    background: #123976;
    color: #fff;
}

.whif-travel-hotel-table thead th {
    padding: 15px 11px;
    border-bottom: 0;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-align: left;
    text-transform: uppercase;
    vertical-align: middle;
}

.whif-travel-hotel-table tbody th,
.whif-travel-hotel-table tbody td {
    padding: 13px 10px;
    border-bottom: 1px solid #e5ecf7;
    border-right: 1px solid #edf1f9;
    color: var(--travel-navy);
    background: #fff;
    vertical-align: middle;
    text-align: left;
}

.whif-travel-hotel-table tbody:nth-of-type(even) th,
.whif-travel-hotel-table tbody:nth-of-type(even) td {
    background: #f6f9fe;
}

.whif-travel-hotel-table tbody[hidden] {
    display: none !important;
}

.whif-travel-hotel-table tbody th {
    font-weight: 900;
    color: var(--travel-blue);
}

.whif-travel-hotel-name {
    font-weight: 900;
    min-width: 130px;
}

.whif-travel-hotel-address {
    min-width: 200px;
    max-width: 265px;
    color: #455a75 !important;
}

.whif-travel-hotel-address i {
    color: #0a9bb1;
}

.whif-travel-hotel-distance {
    display: inline-block;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 99px;
    background: #e9f7ef;
    color: #127749;
    font-weight: 800;
    font-size: 11px;
}

.whif-travel-hotel-price {
    white-space: nowrap;
    color: #2355c3 !important;
    font-weight: 800;
}

.whif-travel-hotel-contact {
    min-width: 132px;
}

.whif-travel-hotel-contact a {
    display: block;
    width: fit-content;
    margin-bottom: 5px;
    color: var(--travel-blue);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.whif-travel-hotel-contact a:hover {
    text-decoration: underline;
}

.whif-travel-hotel-na {
    color: #718096;
    font-style: italic;
    font-size: 11px;
}

.whif-travel-hotel-footnote {
    margin: 16px 0 0;
    color: var(--travel-muted);
    font-size: 12px;
}

.whif-travel-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.whif-travel-dorm-info {
    margin: 0 0 18px;
    padding: 11px 12px;
    border-left: 3px solid #6656ce;
    border-radius: 8px;
    background: #f7f5ff;
    font-size: 12px !important;
}

@media (max-width: 640px) {
    .whif-travel-hotel-toolbar {
        align-items: flex-start;
    }

    .whif-travel-filter-label {
        flex: 0 0 100%;
    }

    .whif-travel-hotel-filter {
        padding: 7px 11px;
        font-size: 11px;
    }

    .whif-travel-hotel-table {
        min-width: 980px;
    }

    .whif-travel-hotel-notice {
        padding: 13px;
    }
}

/* AC Dormitory registration: collapsed until the delegate selects Register. */

.whif-travel-dorm-registration {
    max-width: 850px;
    margin: 24px auto 0;
    padding: 28px;
}

.whif-travel-dorm-registration[hidden] {
    display: none !important;
}

.whif-travel-dorm-form-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.whif-travel-dorm-form-top h3 {
    margin: 0;
    color: var(--travel-navy);
    font-size: 22px;
    font-weight: 900;
}

.whif-travel-dorm-close {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--travel-border);
    border-radius: 50%;
    background: #fff;
    color: var(--travel-navy);
    cursor: pointer;
}

.whif-travel-dorm-fieldset {
    margin: 0 0 22px;
    padding: 0;
    min-width: 0;
    border: 0;
}

.whif-travel-dorm-fieldset legend,
.whif-travel-dorm-field label {
    display: block;
    width: auto;
    margin-bottom: 8px;
    color: var(--travel-navy);
    font-size: 14px;
    font-weight: 800;
}

.whif-travel-dorm-fieldset legend span,
.whif-travel-dorm-field label span {
    color: #c62c36;
}

.whif-travel-dorm-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.whif-travel-dorm-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.whif-travel-dorm-radios input {
    accent-color: var(--travel-blue);
}

.whif-travel-dorm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.whif-travel-dorm-field {
    min-width: 0;
}

.whif-travel-dorm-field :is(input, select) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #bdcee0;
    border-radius: 9px;
    background: #fff;
    color: var(--travel-text);
    font: inherit;
    font-size: 14px;
}

.whif-travel-dorm-field :is(input, select):focus-visible {
    outline: 2px solid var(--travel-blue);
    outline-offset: 1px;
}

.whif-travel-dorm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.whif-travel-dorm-open {
    cursor: pointer;
}

@media (max-width: 640px) {
    .whif-travel-dorm-registration {
        padding: 20px 16px;
    }

    .whif-travel-dorm-form-top h3 {
        font-size: 19px;
    }

    .whif-travel-dorm-form-grid {
        grid-template-columns: 1fr;
    }

    .whif-travel-dorm-actions {
        flex-direction: column;
    }
}

/* International phone input — WHIF dormitory only */

.whif-travel-dorm-field .iti {
    display: block;
    width: 100%;
}

.whif-travel-dorm-field .iti input[type="tel"] {
    width: 100%;
}

.whif-travel-dorm-field .iti__selected-flag {
    min-height: 45px;
    border-radius: 9px 0 0 9px;
}

.whif-travel-dorm-field .iti--separate-dial-code .iti__selected-flag {
    background-color: #f3f8fd;
    border-right: 1px solid #bdcee0;
}

.whif-travel-dorm-field .iti__country-list {
    z-index: 1000;
    max-height: 240px;
    max-width: calc(100vw - 36px);
    border: 1px solid var(--travel-border);
    border-radius: 9px;
    box-shadow: 0 10px 30px rgba(19, 55, 96, .15);
}

.whif-travel-dorm-field .iti__country {
    font-size: 13px;
}

.whif-travel-dorm-field .iti__selected-flag:focus-visible {
    outline: 2px solid var(--travel-blue);
    outline-offset: 1px;
}

/* Dormitory form submission popup */

body.whif-dorm-popup-open {
    overflow: hidden;
}

.whif-dorm-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 43, 82, .62);
    backdrop-filter: blur(4px);
}

.whif-dorm-popup-overlay[hidden] {
    display: none;
}

.whif-dorm-popup-card {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 38px 30px 32px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 28px 70px rgba(9, 43, 82, .28);
}

.whif-dorm-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.whif-dorm-popup-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}

.whif-dorm-popup-icon.is-warning {
    background: #d97706;
}

.whif-dorm-popup-icon.is-error {
    background: #dc2626;
}

.whif-dorm-popup-card h3 {
    margin: 0 0 12px;
    color: #092b52;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
}

.whif-dorm-popup-message {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.whif-dorm-popup-message:last-child {
    margin-bottom: 0;
}

.whif-dorm-popup-message.warning,
.whif-dorm-popup-message.error {
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.whif-dorm-popup-message.warning {
    background: #fff7ed;
    color: #9a3412;
}

.whif-dorm-popup-message.error {
    background: #fff1f1;
    color: #9b2430;
}

.whif-dorm-popup-ok {
    min-width: 120px;
    min-height: 44px;
    margin-top: 20px;
    border: 0;
    border-radius: 24px;
    background: #0066b3;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.whif-dorm-popup-ok:hover {
    background: #054c8a;
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    .whif-dorm-popup-card {
        padding: 34px 22px 28px;
        border-radius: 18px;
    }

    .whif-dorm-popup-card h3 {
        font-size: 22px;
    }
}
