
.ppob-hotel {
    --hotel-primary: #155eef;
    --hotel-primary-dark: #1049bd;
    --hotel-border: #e4e7ec;
    --hotel-text: #101828;
    --hotel-muted: #667085;
    --hotel-bg: #f8fafc;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--hotel-text);
    font-family: inherit;
    box-sizing: border-box;
}

.ppob-hotel *,
.ppob-hotel *::before,
.ppob-hotel *::after {
    box-sizing: border-box;
}

.ppob-hotel [hidden] {
    display: none !important;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(120deg, #102a56, #155eef);
    color: #fff;
}

.hotel-header h2 {
    margin: 8px 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.hotel-header p {
    margin: 0;
    color: #e0eaff;
}

.hotel-eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #bfdbfe;
}

.hotel-header-icon {
    font-size: 54px;
}

.hotel-search-card,
.hotel-booking-card {
    background: #fff;
    border: 1px solid var(--hotel-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(16, 24, 40, .04);
}

.hotel-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hotel-field {
    position: relative;
    min-width: 0;
}

.hotel-field label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.ppob-hotel input,
.ppob-hotel select,
.ppob-hotel textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 14px;
    box-shadow: none;
}

.ppob-hotel textarea {
    min-height: 90px;
    resize: vertical;
}

.ppob-hotel input:focus,
.ppob-hotel select:focus,
.ppob-hotel textarea:focus {
    outline: none;
    border-color: var(--hotel-primary);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, .12);
}

.hotel-primary-button,
.hotel-secondary-button {
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

.hotel-primary-button {
    background: var(--hotel-primary);
    color: #fff;
}

.hotel-primary-button:hover {
    background: var(--hotel-primary-dark);
}

.hotel-primary-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.hotel-secondary-button {
    background: #f2f4f7;
    color: #344054;
}

.hotel-search-button-wrap {
    display: flex;
    flex-direction: column;
}

.hotel-search-button-wrap .hotel-primary-button {
    width: 100%;
}

.hotel-suggestions {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--hotel-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
}

.hotel-suggestions.is-visible {
    display: block;
}

.hotel-suggestion {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #f2f4f7;
    background: #fff;
    cursor: pointer;
    color: var(--hotel-text);
}

.hotel-suggestion:hover {
    background: #f2f7ff;
}

.hotel-suggestion small {
    display: block;
    margin-top: 4px;
    color: var(--hotel-muted);
}

.hotel-message {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
}

.hotel-message.error {
    color: #b42318;
}

.hotel-message.success {
    color: #067647;
}

.hotel-message.info {
    color: #175cd3;
}

.hotel-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 28px 0 16px;
}

.hotel-section-heading h3 {
    margin: 0 0 5px;
    font-size: 21px;
}

.hotel-section-heading p {
    margin: 0;
    color: var(--hotel-muted);
    font-size: 13px;
}

.hotel-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.hotel-stars {
    color: #f79009;
    letter-spacing: 2px;
}

.hotel-location {
    margin: 8px 0;
    color: var(--hotel-muted);
    font-size: 13px;
}

.hotel-price {
    margin: 12px 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--hotel-primary);
}

.hotel-price small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    color: var(--hotel-muted);
}

.hotel-card .hotel-primary-button {
    width: 100%;
}

.hotel-back-button {
    margin: 22px 0 16px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--hotel-primary);
    cursor: pointer;
    font-weight: 600;
}

.hotel-detail-card {
    padding: 24px;
    border: 1px solid var(--hotel-border);
    border-radius: 16px;
    background: #fff;
}

.hotel-detail-card > img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.hotel-detail-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.hotel-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.hotel-facility {
    padding: 7px 11px;
    border-radius: 20px;
    background: #f2f4f7;
    color: #344054;
    font-size: 12px;
}

.hotel-room {
    padding: 18px 0;
    border-top: 1px solid var(--hotel-border);
}

.hotel-room h4 {
    margin: 0 0 8px;
}

.hotel-room-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-top: 10px;
    border: 1px solid var(--hotel-border);
    border-radius: 10px;
}

.hotel-room-option strong {
    display: block;
    color: var(--hotel-primary);
}

.hotel-room-option small {
    display: block;
    margin-top: 4px;
    color: var(--hotel-muted);
}

.hotel-booking-card {
    margin-top: 24px;
}

.hotel-booking-card h3 {
    margin-top: 0;
}

.hotel-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.hotel-notes-field {
    grid-column: 1 / -1;
}

.hotel-booking-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

.hotel-summary {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    background: #f8fafc;
}

.hotel-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 14px;
}

.hotel-summary-total {
    border-top: 1px solid var(--hotel-border);
    margin-top: 8px;
    padding-top: 14px;
    font-weight: 800;
}

.hotel-status-card {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--hotel-border);
    border-radius: 14px;
    background: #fff;
}

.hotel-status-card h3 {
    margin-top: 0;
}

.hotel-status-ref {
    overflow-wrap: anywhere;
    font-family: monospace;
}

@media (max-width: 900px) {
    .hotel-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hotel-header {
        padding: 20px;
    }

    .hotel-header h2 {
        font-size: 22px;
    }

    .hotel-header-icon {
        font-size: 38px;
    }

    .hotel-search-card,
    .hotel-booking-card {
        padding: 16px;
    }

    .hotel-search-grid,
    .hotel-booking-grid {
        grid-template-columns: 1fr;
    }

    .hotel-card {
        flex-direction: column;
    }

   

    .hotel-room-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .hotel-booking-actions {
        flex-direction: column-reverse;
    }

    .hotel-booking-actions button {
        width: 100%;
    }
}







/* =====================================================
   HOTEL DETAIL IMAGE
   ===================================================== */

.hotel-detail-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f9;
    margin-bottom: 20px;
}

.hotel-detail-image {
    display: block;
    width: 100%;
    height: 300px;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.hotel-detail-image-placeholder {
    width: 100%;
    height: 300px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(
        135deg,
        #eef2f7,
        #e8edf3
    );
    color: #64748b;
}


/* =====================================================
   HOTEL CARD
   ===================================================== */

.ppob-hotel .hotel-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 1px solid var(--hotel-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
}


/* =====================================================
   WRAPPER FOTO HOTEL
   ===================================================== */

.ppob-hotel .hotel-image-wrapper {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    height: 150px !important;
    min-width: 0 !important;
    min-height: 150px !important;
    max-height: 150px !important;

    flex: 0 0 150px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box !important;

    background: #f1f5f9 !important;
}


/* =====================================================
   FOTO HOTEL
   ===================================================== */

.ppob-hotel .hotel-image-wrapper .hotel-card-image {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 100% !important;
    min-height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    box-sizing: border-box !important;
}


/* =====================================================
   PLACEHOLDER FOTO
   ===================================================== */

.ppob-hotel .hotel-image-wrapper .hotel-card-image-placeholder {
    display: flex !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 100% !important;
    min-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;

    box-sizing: border-box !important;
}


/* =====================================================
   ISI CARD
   ===================================================== */

.hotel-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding: 15px;
}

.hotel-card-content h4 {
    margin: 6px 0 6px;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.hotel-location {
    margin: 6px 0;
    color: var(--hotel-muted);
    font-size: 12px;
}

.hotel-price {
    margin: 10px 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--hotel-primary);
}

.hotel-price small {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--hotel-muted);
}

.hotel-card .hotel-primary-button {
    width: 100%;
    margin-top: 10px;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .hotel-results {
        grid-template-columns: 1fr;
    }

    .hotel-image-wrapper {
        height: 180px;
    }

    .hotel-card-image,
    .hotel-card-image-placeholder {
        height: 180px;
    }

    .hotel-card-content {
        padding: 16px;
    }
}
/* =====================================================
   FINAL HOTEL CARD OVERRIDE
   Digunakan untuk mencegah CSS tema/plugin lain
   menimpa layout kartu hotel
   ===================================================== */

.ppob-hotel .hotel-results {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.ppob-hotel .hotel-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border: 1px solid var(--hotel-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
}

.ppob-hotel .hotel-card-image {
    display: block !important;
    flex: 0 0 150px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
}

.ppob-hotel .hotel-card-image-placeholder {
    display: flex !important;
    flex: 0 0 150px !important;
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
}

.ppob-hotel .hotel-card-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 15px !important;
}

.ppob-hotel .hotel-card-content h4 {
    width: 100% !important;
    margin: 6px 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
}

.ppob-hotel .hotel-card .hotel-primary-button {
    width: 100% !important;
    margin-top: 12px !important;
}


/* =====================================================
   TABLET / MOBILE
   ===================================================== */

@media (max-width: 900px) {

    .ppob-hotel .hotel-results {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {

    .ppob-hotel .hotel-card-image,
    .ppob-hotel .hotel-card-image-placeholder {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        flex-basis: 180px !important;
    }
}