/* OMEGO Front Desk — pixel-matched to reference Check In / Reservation */

.front-desk-booking-page .fi-main-ctn {
    max-width: none;
    padding: 0;
}

.front-desk-booking-page .fi-page-main {
    padding-top: 0;
}

.front-desk-booking-page .fi-page {
    gap: 0;
    padding: 0;
}

.front-desk-booking-page .fi-header {
    display: none;
}

.pms-shell {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    color: #222;
    background: transparent;
    margin: 0;
    padding: 0;
}

.pms-card {
    background: #ededed;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.pms-card__header {
    margin: 0;
    padding: 6px 12px;
    background: #ededed;
    border-bottom: 1px solid #d0d0d0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.pms-card__title {
    display: inline-block;
}

.pms-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 0;
    min-height: calc(100vh - 7rem);
    background: #ededed;
}

.pms-left {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ededed;
    min-width: 0;
    border-right: 1px solid #c3c3c3;
}

.pms-right {
    background: #ededed;
    border-left: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 0;
    align-self: stretch;
    max-height: calc(100vh - 8.5rem);
    min-height: 0;
    overflow: hidden;
    width: 292px;
}

.pms-right__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.pms-panel {
    background: transparent;
    border: none;
    padding: 0;
}

.pms-panel--guest {
    background: #ededed;
    padding: 0;
    flex: 0 0 auto;
    position: relative;
    z-index: 4;
}

.pms-panel--billing {
    background: #ededed;
    padding: 8px 12px 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.pms-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 7px 12px;
    background: #fff;
    border-bottom: 1px solid #d0d0d0;
}

.pms-panel--guest .pms-panel__head {
    margin: 0;
}

.pms-panel__head h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #222;
}

.pms-add-btn {
    width: 22px;
    height: 22px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    background: #f3e8ef;
    color: #9d4d7a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pms-add-btn:hover {
    background: #ead5e2;
}

/* ——— Date row fills width like reference ——— */
.pms-date-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1.15fr) auto;
    align-items: end;
    column-gap: 10px;
    width: 100%;
}

.pms-check-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pms-check-block__label {
    font-size: 11px;
    font-weight: 500;
    color: #555;
}

.pms-check-block__fields {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 28px;
    border: 1px solid #c8c8c8;
    background: #fff;
    overflow: hidden;
    border-radius: 2px;
}

.pms-check-block__fields .pms-combo {
    flex: 1 1 0;
    min-width: 0;
}

.pms-check-block__fields .pms-combo--date {
    flex: 1.25 1 0;
    width: auto;
}

.pms-check-block__fields .pms-combo--time {
    flex: 1 1 0;
    width: auto;
}

.pms-check-block__fields .pms-combo + .pms-combo {
    border-left: 1px solid #c8c8c8;
}

.pms-combo {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
}

.pms-combo__face {
    width: 100%;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 12px !important;
    font-weight: 700;
    color: #111 !important;
    padding: 0 22px 0 6px !important;
    cursor: pointer;
    box-shadow: none !important;
}

.pms-combo__native {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.pms-combo__icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.75;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pms-combo__icon--calendar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.pms-combo__icon--clock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* Nights: gray sides, white center */
.pms-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    height: 28px;
    box-sizing: border-box;
}

.pms-stepper--nights {
    display: grid;
    grid-template-columns: 28px 40px 28px;
    height: 28px;
    border: 1px solid #c8c8c8;
    background: #ededed;
    overflow: hidden;
    flex-shrink: 0;
}

.pms-stepper--nights .pms-stepper__btn {
    height: 100%;
    width: 100%;
    min-width: 0;
    background: #ededed;
    border: none;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.pms-stepper--nights .pms-stepper__value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #fff;
    border-left: 1px solid #c8c8c8;
    border-right: 1px solid #c8c8c8;
    font-size: 13px;
    font-weight: 800;
    color: #111;
}

.pms-stepper__btn--minus {
    color: #c0392b;
}

.pms-stepper__btn--plus {
    color: #1e8e3e;
}

.pms-stepper__btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.pms-stepper__label {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    margin: 0 0 3px;
    line-height: 1.2;
    display: block;
}

/* Rooms: [1][-1][+1] at right of checkout group */
.pms-stepper--rooms {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
}

.pms-stepper--rooms .pms-stepper__controls {
    display: grid;
    grid-template-columns: 30px 26px 26px;
    height: 28px;
    border: 1px solid #c8c8c8;
    background: #fff;
    overflow: hidden;
}

.pms-stepper--rooms .pms-stepper__value--rooms {
    width: 100%;
    height: 100%;
    border: none;
    border-right: 1px solid #c8c8c8;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    padding: 0;
    color: #111;
}

.pms-stepper--rooms .pms-stepper__btn {
    height: 100%;
    width: 100%;
    min-width: 0;
    border: none;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    background: #fff;
}

.pms-stepper--rooms .pms-stepper__btn--minus {
    border-right: 1px solid #c8c8c8;
    background: #fdecec;
}

.pms-stepper--rooms .pms-stepper__btn--plus {
    background: #eaf6ee;
}

/* Meta row */
.pms-meta-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #9a9a9a;
}

.pms-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pms-field label {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.pms-field input,
.pms-field select,
.pms-room-grid select,
.pms-room-grid input {
    height: 28px;
    border: 1px solid #c8c8c8;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 0 6px;
    border-radius: 0;
    min-width: 0;
    color: #111;
}

.pms-field input:focus,
.pms-field select:focus,
.pms-room-grid select:focus,
.pms-room-grid input:focus {
    outline: none;
    border-color: #5b9bd5;
    box-shadow: none;
}

.pms-field input[readonly] {
    background: #f7f7f7;
    color: #222;
    font-weight: 700;
}

.pms-select-face {
    position: relative;
}

.pms-select-face input {
    width: 100%;
    padding-right: 18px !important;
}

.pms-select-face::after {
    content: '';
    position: absolute;
    right: 7px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transform: translateY(-40%);
    pointer-events: none;
}

/* Room grid */
.pms-room-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}

.pms-room-grid__head,
.pms-room-grid__row {
    display: grid;
    grid-template-columns: 22px 1.4fr 1fr 0.85fr 52px 52px 78px 82px;
    gap: 5px;
    align-items: center;
}

.pms-room-grid__head {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    padding-bottom: 2px;
}

.pms-room-grid__delete {
    width: 22px;
    height: 22px;
    border: 1px solid #e5a0a0;
    background: #fff;
    cursor: pointer;
    color: #c0392b;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.pms-room-grid__delete:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.pms-field--h textarea {
    min-height: 44px;
    height: auto;
    resize: vertical;
    padding: 4px 6px;
}

.pms-field input,
.pms-field select,
.pms-room-grid select,
.pms-room-grid input {
    border-radius: 2px;
}

.pms-stepper--nights,
.pms-stepper--rooms .pms-stepper__controls,
.pms-input-prefix,
.pms-advance-row select,
.pms-advance-row input {
    border-radius: 2px;
}

.pms-readonly-select {
    background: #f5f5f5 !important;
    color: #666;
}

.pms-rate-type-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
}

.pms-rate-cards {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #c8c8c8;
}

.pms-rate-cards__title {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
}

.pms-rate-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pms-rate-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 10px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    min-height: 70px;
}

.pms-rate-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.pms-rate-card--selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 1px #2563eb;
}

.pms-rate-card__icon {
    font-size: 14px;
}

.pms-rate-card__label {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.pms-rate-card__subtitle {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
}

.pms-rate-card-custom {
    margin-top: 8px;
    max-width: 220px;
}

.pms-rate-card-custom label {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
}

.pms-input-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #c8c8c8;
    background: #fff;
    height: 28px;
    overflow: hidden;
}

.pms-input-prefix span {
    padding: 0 6px;
    font-size: 11px;
    color: #555;
    background: #efefef;
    border-right: 1px solid #c8c8c8;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    box-sizing: border-box;
}

.pms-input-prefix--rate span {
    background: #4a90d9;
    color: #fff;
    font-weight: 700;
    border-right-color: #4a90d9;
}

.pms-input-prefix--custom-rate {
    height: 28px;
}

.pms-input-prefix input {
    border: none !important;
    flex: 1;
    height: 100% !important;
    background: #fff;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-align: right;
    padding-right: 6px !important;
    font-weight: 700;
}

.pms-info-icon {
    font-style: normal;
    font-size: 11px;
    line-height: 1;
    color: #4a90d9;
    font-weight: 700;
}

.pms-hint {
    margin: 4px 0 0;
    font-size: 10px;
    color: #667085;
}

.pms-hint--warn {
    color: #c0392b;
    font-weight: 600;
}

.pms-hint--complimentary {
    color: #1d4ed8;
    font-weight: 600;
}

.pms-hint--advance {
    margin: 2px 0 4px 92px;
    font-size: 10px;
    color: #777;
}

.pms-required {
    color: #c0392b;
}

.pms-field--invalid input,
.pms-field--invalid select {
    border-color: #c0392b;
}

.pms-guest-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 4px;
}

.pms-address-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 8px;
    background: #f5f5f5;
    border: 1px solid #d5d5d5;
}

.pms-address-section__label {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pms-field textarea {
    min-height: 40px;
    border: 1px solid #c8c8c8;
    background: #fff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 0;
    resize: vertical;
    font-family: inherit;
}

.pms-field textarea:focus {
    outline: none;
    border-color: #5b9bd5;
}

.pms-field--inline-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pms-field--id-proof-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 6px;
    align-items: start;
}

.pms-field--id-upload input[type="file"] {
    height: auto;
    min-height: 28px;
    padding: 2px 0;
    font-size: 10px;
    border: none;
    background: transparent;
}

.pms-field--id-upload .pms-hint {
    font-size: 9px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pms-guest-sections {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 5;
}

.pms-guest-section-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    position: relative;
    z-index: 5;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
}

.pms-guest-section-card:hover {
    border-color: #4c9a6d;
    background: #f8fffb;
}

.pms-guest-section-card--complete {
    border-color: #4c9a6d;
    background: #f3fbf6;
}

.pms-guest-section-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.pms-guest-section-card__status {
    font-size: 10px;
    font-weight: 600;
    color: #4c9a6d;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pms-guest-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: #f5f5f5;
    border: 1px solid #d5d5d5;
}

.pms-guest-summary--compact {
    margin-top: 4px;
}

.pms-guest-summary__row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pms-guest-summary__label {
    font-size: 10px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}

.pms-guest-summary__row strong {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
    word-break: break-word;
}

.pms-id-proofs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pms-id-proofs__title {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pms-id-proof-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: #f8f8f8;
    border: 1px solid #d8d8d8;
}

.pms-id-proof-block__title {
    font-size: 11px;
    font-weight: 700;
    color: #444;
}

.pms-field--upload-action {
    margin-top: 2px;
}

.pms-id-upload-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pms-id-upload-summary__status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pms-id-upload-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid #d0d0d0;
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    color: #666;
}

.pms-id-upload-chip--done {
    border-color: #4c9a6d;
    color: #2f7a52;
    background: #eef9f2;
}

.pms-btn--upload {
    align-self: flex-start;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid #4c9a6d;
    background: #fff;
    color: #2f7a52;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.pms-btn--upload:hover {
    background: #f3fbf6;
}

.pms-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.pms-modal-backdrop--nested {
    z-index: 99995;
    background: rgba(0, 0, 0, 0.55);
}

.pms-modal {
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d8d8d8;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pms-modal--id-upload {
    width: min(520px, 100%);
}

.pms-modal__header {
    padding: 14px 18px 10px;
    border-bottom: 1px solid #ececec;
}

.pms-modal__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.pms-modal__tabs {
    display: flex;
    gap: 0;
    padding: 0 18px;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
}

.pms-modal__tab {
    min-height: 38px;
    padding: 0 14px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #666;
    cursor: pointer;
}

.pms-modal__tab--active {
    color: #2f7a52;
    border-bottom-color: #4c9a6d;
    background: #fff;
}

.pms-modal__body {
    overflow: auto;
    padding: 14px 18px;
}

.pms-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid #ececec;
    background: #fafafa;
}

.pms-modal__btn {
    min-width: 88px;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.pms-modal__btn--cancel {
    border-color: #4c9a6d;
    background: #fff;
    color: #2f7a52;
}

.pms-modal__btn--save {
    background: #4c9a6d;
    color: #fff;
}

.pms-modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pms-modal-form__row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.pms-modal-form__row > label {
    padding-top: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.pms-modal-form__row input,
.pms-modal-form__row select,
.pms-modal-form__row textarea {
    width: 100%;
    min-height: 32px;
    border: 1px solid #d8d8d8;
    background: #f3f3f3;
    padding: 6px 10px;
    font-size: 12px;
    color: #222;
}

.pms-modal-form__row textarea {
    min-height: 72px;
    resize: vertical;
}

.pms-modal-form__row--name .pms-modal-form__name-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pms-modal-form__row--upload {
    align-items: start;
}

.pms-gender-toggle {
    display: inline-flex;
    gap: 0;
    border: 1px solid #d8d8d8;
    overflow: hidden;
}

.pms-gender-toggle__btn {
    min-width: 72px;
    min-height: 32px;
    border: none;
    background: #f3f3f3;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}

.pms-gender-toggle__btn--active {
    background: #4c9a6d;
    color: #fff;
}

.pms-id-upload-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pms-id-upload-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d8d8d8;
    background: #fafafa;
}

.pms-id-upload-card--invalid {
    border-color: #c0392b;
}

.pms-id-upload-card__label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
}

.pms-id-upload-card input[type="file"] {
    width: 100%;
    font-size: 11px;
}

.pms-hint--upload-note {
    margin-top: 8px;
}

/* Billing */
.pms-billing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    border: none;
}

.pms-billing-head h2 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #222;
    text-transform: none;
}

.pms-status-label {
    font-size: 11px;
    font-weight: 800;
    color: #2e7d32;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pms-stay-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    background: #e0e0e0;
    margin-bottom: 10px;
    overflow: hidden;
}

.pms-stay-strip__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 11px;
    padding: 8px 6px;
    text-align: center;
    background: #e0e0e0;
}

.pms-stay-strip__col span {
    color: #666;
    font-weight: 500;
}

.pms-stay-strip__col strong {
    font-size: 12px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
}

.pms-stay-strip__time {
    font-weight: 500 !important;
    color: #333 !important;
    font-size: 11px !important;
}

.pms-stay-strip__col--right {
    text-align: center;
}

.pms-stay-strip__nights {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #111;
    background: #c6c6c6;
}

.pms-billing-fields {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pms-field--h {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.pms-field--h label {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    color: #222;
}

.pms-advance-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0;
}

.pms-advance-row select,
.pms-advance-row input {
    height: 28px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #111;
}

.pms-advance-row select {
    border-right: none;
    padding: 0 4px;
}

.pms-advance-row input {
    text-align: right;
    padding: 0 6px;
}

.pms-totals {
    margin: 14px 0 0;
    padding-top: 0;
    border-top: none;
}

.pms-totals div {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 12px;
}

.pms-totals dt {
    color: #222;
    font-weight: 500;
}

.pms-totals dd {
    margin: 0;
    font-weight: 700;
    color: #111;
}

.pms-totals__balance dt,
.pms-totals__balance dd {
    color: #8b0000;
    font-weight: 700;
}

.pms-totals__credit dd {
    color: #047857;
}

.pms-panel--additional-bed,
.pms-panel--future-reservations {
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #d0d0d0;
    background: #f5f5f5;
}

.pms-panel--future-reservations .pms-panel__head {
    margin: 0 0 6px;
    padding: 0 0 6px;
    background: transparent;
    border-bottom: 1px solid #d0d0d0;
}

.pms-additional-bed__title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
}

.pms-additional-bed__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 6px;
    cursor: pointer;
}

.pms-additional-bed__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
}

.pms-additional-bed__label {
    display: block;
    color: #6b7280;
    margin-bottom: 2px;
}

.pms-field--qty {
    min-width: 80px;
}

.pms-field--qty input {
    width: 64px;
}

.pms-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 6px;
    flex-shrink: 0;
    padding: 10px 12px 12px;
    background: #ededed;
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.pms-btn {
    height: 30px;
    border: 1px solid #4c86d0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    padding: 0 8px;
    background: #4c86d0;
    color: #fff;
}

.pms-btn:hover {
    background: #3f78c0;
    border-color: #3f78c0;
}

.pms-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 1100px) {
    .pms-workspace {
        grid-template-columns: minmax(0, 1fr) 270px;
    }

    .pms-right {
        width: 270px;
    }

    .pms-meta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pms-workspace {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pms-left {
        border-right: none;
    }

    .pms-right {
        position: static;
        max-height: none;
        width: 100%;
        border-top: 1px solid #c8c8c8;
    }

    .pms-date-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .pms-stepper--nights,
    .pms-stepper--rooms {
        justify-self: start;
    }

    .pms-field--h {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .pms-hint--advance {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .pms-meta-row {
        grid-template-columns: 1fr;
    }

    .pms-room-grid__head {
        display: none;
    }

    .pms-room-grid__row {
        grid-template-columns: 22px 1fr 1fr;
        grid-template-areas:
            'del type type'
            'del rate room'
            'del adult child'
            'del disc rate2';
    }

    .pms-room-grid__row > :nth-child(2) { grid-area: type; }
    .pms-room-grid__row > :nth-child(3) { display: none; }
    .pms-room-grid__row > :nth-child(4) { grid-area: room; }
    .pms-room-grid__row > :nth-child(5) { grid-area: adult; }
    .pms-room-grid__row > :nth-child(6) { grid-area: child; }
    .pms-room-grid__row > :nth-child(7) { grid-area: disc; }
    .pms-room-grid__row > :nth-child(8) { grid-area: rate2; }
    .pms-room-grid__delete { grid-area: del; }

    .pms-rate-cards__grid {
        grid-template-columns: 1fr;
    }

    .pms-field--id-proof-row {
        grid-template-columns: 1fr;
    }

    .pms-modal-form__row {
        grid-template-columns: 1fr;
    }

    .pms-modal-form__row--name .pms-modal-form__name-grid {
        grid-template-columns: 1fr;
    }

    .pms-actions {
        grid-template-columns: 1fr;
    }
}
