/* Isolated from the original booking2 forms and navigation. */
.gs-profile {
    --gp-line: #dfe5e2;
    --gp-muted: #64716c;
    --gp-green: #244d40;
    color: #293b33;
    font:
        14px/1.5 "Open Sans",
        Arial,
        sans-serif;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 12px;
    max-width: 1180px;
    margin: 20px auto;
    overflow: hidden;
    box-sizing: border-box;
}
.gs-profile * {
    box-sizing: border-box;
}
.gs-profile button,
.gs-profile input,
.gs-profile select {
    font: inherit;
}
.gs-profile button {
    cursor: pointer;
}
.gs-profile button:disabled {
    opacity: 0.5;
    cursor: default;
}
.gs-profile :is(button, a, input, select):focus-visible {
    outline: 2px solid #325c4b;
    outline-offset: 3px;
}
.gs-profile h1 {
    font-size: 27px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}
.gs-profile h2 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 18px;
}
.gs-profile h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}
.gs-profile p {
    margin: 0 0 14px;
}
.gs-profile small {
    display: block;
    color: var(--gp-muted);
    font-size: 12px;
}
.gs-profile strong {
    font-weight: 600;
}
.gp-sidebar {
    background: #fafbf9;
    border-right: 1px solid var(--gp-line);
    padding: 28px 18px;
}
.gp-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    overflow-wrap: anywhere;
}
.gp-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #eeeae0;
    border-radius: 50%;
    color: #6c5838;
    font-size: 18px;
}
.gp-sidebar nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 7px;
    background: none;
    text-align: left;
    width: 100%;
    padding: 13px 10px;
    margin-bottom: 5px;
    color: #5e6964;
}
.gp-sidebar nav button[aria-current="page"] {
    background: #eeeae0;
    color: #635438;
    font-weight: 600;
}
.gp-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.gp-mini-balance {
    padding: 20px 10px;
    margin: 26px 0 12px;
    border-top: 1px solid var(--gp-line);
}
.gp-mini-balance strong {
    display: block;
    font-size: 27px;
}
.gp-main {
    padding: 30px;
    min-width: 0;
}
.gp-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
}
.gp-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr);
    gap: 24px;
}
.gp-booking {
    border: 1px solid var(--gp-line);
    border-radius: 10px;
    overflow: hidden;
    min-width: 0;
}
.gp-card-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gp-line);
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gp-muted);
}
.gp-status {
    display: inline-block;
    font-size: 11px;
    background: #edf4f0;
    color: var(--gp-green);
    border-radius: 20px;
    padding: 4px 10px;
    overflow-wrap: anywhere;
}
.gp-card-body {
    padding: 20px;
}
.gp-dates {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 10px 0 22px;
}
.gp-dates strong {
    display: block;
    font-size: 19px;
    margin-top: 5px;
}
.gp-booking-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.gp-booking-bottom strong {
    font-size: 21px;
}
.gp-booking-bottom small {
    margin-top: 5px;
}
.gs-profile .gp-primary,
.gs-profile .gp-secondary {
    display: inline-block;
    border-radius: 7px;
    padding: 10px 16px;
    min-height: 42px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}
.gs-profile .gp-primary {
    background: #244d40;
    color: #fff;
    border: 1px solid #244d40;
}
.gs-profile .gp-secondary {
    background: #fff;
    color: #39463f;
    border: 1px solid var(--gp-line);
}
.gs-profile .gp-text {
    border: 0;
    background: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 7px 0;
    color: var(--gp-muted);
    font-size: 12px;
}
.gp-bonus-balance,
.gp-program {
    background: #f5f6f1;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 16px;
}
.gp-bonus-balance > strong {
    display: block;
    font-size: 32px;
    margin: 8px 0;
}
.gp-bonus-balance > strong span {
    font-size: 15px;
}
.gp-bonus-balance p {
    font-size: 12px;
    color: var(--gp-muted);
    margin: 0;
}
.gp-program h3 {
    margin-top: 6px;
    font-size: 22px;
}
.gp-program p {
    font-size: 13px;
}
.gp-progress {
    height: 4px;
    border-radius: 3px;
    background: #dedfd4;
    margin: 16px 0 12px;
    overflow: hidden;
}
.gp-progress span {
    display: block;
    height: 100%;
    background: #ad9263;
}
.gp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 30px 0 12px;
}
.gp-section-head h2 {
    margin: 0;
}
.gp-ledger {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gp-ledger li {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gp-line);
}
.gp-ledger li:last-child {
    border: 0;
}
.gp-ledger li > span {
    white-space: nowrap;
    font-weight: 600;
}
.gp-ledger small {
    margin-top: 4px;
}
.gp-positive {
    color: #244d40;
}
.gp-negative {
    color: #866349;
}
.gp-empty {
    padding: 26px 20px;
    border: 1px dashed var(--gp-line);
    border-radius: 10px;
    color: var(--gp-muted);
}
.gp-note {
    color: var(--gp-muted);
    font-size: 12px;
}
.gp-program .gp-note {
    margin: 16px 0 0;
    font-size: 11px;
}
.gp-bookings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.gp-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 24px 0 0;
}
.gp-segments {
    display: flex;
    gap: 4px;
    max-width: 100%;
    width: max-content;
    border-radius: 8px;
    padding: 4px;
    background: #f0f3f0;
    margin: 22px 0 6px;
}
.gp-segments button {
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    background: none;
    font-size: 12px;
}
.gp-segments button[aria-pressed="true"] {
    background: #fff;
    box-shadow: 0 1px 3px #0001;
}
.gp-form {
    max-width: 680px;
}
.gp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.gp-form label {
    font-size: 13px;
    min-width: 0;
}
.gp-form input {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 7px 0 4px;
    border: 1px solid #c6d1cb;
    border-radius: 7px;
    padding: 12px;
    background: white;
    font-size: 16px;
    min-height: 46px;
    color: #293b33;
}
.gp-form input[readonly] {
    background: #f4f6f3;
    color: #66726b;
}
.gp-form small {
    font-size: 11px;
}
.gp-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}
.gp-form-actions [role="status"] {
    font-size: 13px;
    color: #244d40;
}
.gp-notice:not(:empty) {
    padding: 12px 14px;
    background: #fff3ef;
    color: #943a24;
    border: 1px solid #e8c5b9;
    border-radius: 8px;
    margin-bottom: 20px;
}
.gp-notice button {
    margin-left: 12px;
}
.gp-mobile-nav,
.gp-mobile-logout {
    display: none;
}
.gp-dialog.gs-profile {
    display: block;
    position: fixed;
    inset: 0;
    width: min(560px, calc(100% - 24px));
    max-height: calc(100dvh - 32px);
    padding: 30px;
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 0 25px 80px #0003;
}
.gp-dialog:not([open]) {
    display: none;
}
.gp-dialog::backdrop {
    background: #17392e70;
    backdrop-filter: blur(3px);
}
.gp-dialog h2 {
    padding-right: 22px;
}
.gp-close {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: #edf3ef;
    color: #244d40;
    border-radius: 50%;
    font-size: 24px !important;
}
.gp-stay {
    border-top: 1px solid var(--gp-line);
    padding: 16px 0;
}
.gp-stay p {
    margin-bottom: 5px;
}
.gp-money-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-top: 1px solid var(--gp-line);
}
.gp-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
@media (max-width: 1050px) {
    .gp-overview,
    .gp-bookings {
        grid-template-columns: 1fr;
    }
    .gp-main {
        padding: 24px;
    }
    .gp-overview {
        gap: 22px;
    }
}
@media (max-width: 700px) {
    .gs-profile {
        display: block;
        margin: 12px 0;
        border-radius: 10px;
    }
    .gp-sidebar {
        display: none;
    }
    .gp-main {
        padding: 18px 14px;
    }
    .gp-mobile-nav {
        display: block;
        font-size: 12px;
        color: var(--gp-muted);
        margin-bottom: 24px;
    }
    .gp-mobile-nav select {
        display: block;
        width: 100%;
        padding: 11px 12px;
        border: 1px solid #c6d1cb;
        border-radius: 7px;
        background: #f7f8f5;
        color: #293b33;
        margin-top: 6px;
        font-size: 16px;
    }
    .gp-mobile-logout {
        display: block;
    }
    .gp-heading {
        margin-bottom: 22px;
    }
    .gs-profile h1 {
        font-size: 23px;
    }
    .gs-profile h2 {
        font-size: 18px;
    }
    .gp-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gp-form-actions {
        align-items: start;
        flex-direction: column;
    }
    .gp-card-head,
    .gp-card-body {
        padding: 16px;
    }
    .gp-dates {
        gap: 16px;
    }
    .gp-dates strong {
        font-size: 18px;
    }
    .gp-section-head {
        align-items: start;
    }
    .gp-bonus-balance,
    .gp-program {
        padding: 20px;
    }
    .gp-dialog.gs-profile {
        padding: 24px 18px;
    }
    .gp-segments button {
        padding: 8px 11px;
    }
    .gp-ledger {
        font-size: 13px;
    }
    .gp-ledger small {
        font-size: 11px;
    }
}
body[data-step="guest-account"] .header,
body[data-step="guest-account"] .js-sidebar {
    display: none !important;
}
body[data-step="guest-account"] .content {
    margin-right: 0 !important;
    width: 100% !important;
}
body[data-step="guest-account"] .wrapper {
    max-width: 1230px;
}
.gs-profile .gp-return {
    margin: 0 0 20px;
    padding: 0 0 5px;
}
