/* =========================================================
   ANAYATRANS RENTAL V2
   Clean / modern / information-first
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS & BASE
   --------------------------------------------------------- */
.v2-rental {
    --rental-primary: #3169d1;
    --rental-primary-dark: #285bb8;
    --rental-ink: #203858;
    --rental-text: #52657e;
    --rental-muted: #8190a4;
    --rental-line: #e3e9f1;
    --rental-line-soft: #edf1f5;
    --rental-soft: #f6f8fb;
    --rental-bg: #f7f9fc;

    --status-pending-bg: #fff6df;
    --status-pending-text: #b87817;
    --status-cancelled-bg: #fff0f0;
    --status-cancelled-text: #b84b51;
    --status-paid-bg: #eaf7ef;
    --status-paid-text: #34805a;

    min-height: calc(100vh - 120px);
    padding: 28px 0 56px;
    background: var(--rental-bg);
    color: var(--rental-text);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.v2-rental *,
.v2-rental *::before,
.v2-rental *::after {
    box-sizing: border-box;
}

.v2-rental-container {
    width: min(calc(100% - 32px), 1200px);
    margin: 0 auto;
}

/* ---------------------------------------------------------
   2. SHARED TYPOGRAPHY / SURFACES
   --------------------------------------------------------- */
.v2-rental-panel,
.v2-rental-card,
.v2-rental-summary,
.v2-rental-invoice {
    border: 1px solid var(--rental-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 58, 94, .04);
}

.v2-rental-label,
.v2-rental-search-summary small {
    color: var(--rental-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   3. HERO / PAGE HEADER
   --------------------------------------------------------- */
.v2-rental-hero {
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    color: var(--rental-ink);
}

.v2-rental-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--rental-muted);
    font-size: 11px;
    font-weight: 600;
}

.v2-rental-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.v2-rental-breadcrumb a:hover {
    color: var(--rental-primary);
}

.v2-rental-hero h1,
.v2-rental-payment-page-head h1 {
    margin: 0;
    color: var(--rental-ink);
    font-size: clamp(22px, 2.4vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.v2-rental-hero p,
.v2-rental-payment-page-head p {
    margin: 6px 0 0;
    color: var(--rental-muted);
    font-size: 12px;
    line-height: 1.55;
}

.v2-rental-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0 0 24px;
    padding: 15px 18px;
    border: 1px solid var(--rental-line);
    border-radius: 14px;
    background: #fff;
}

.v2-rental-search-summary div {
    display: grid;
    gap: 3px;
    min-width: 145px;
}

.v2-rental-search-summary strong {
    color: var(--rental-ink);
    font-size: 12px;
}

/* ---------------------------------------------------------
   4. BUTTONS / FORMS
   --------------------------------------------------------- */
.v2-rental-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid var(--rental-primary);
    border-radius: 10px;
    background: var(--rental-primary);
    color: #fff;
    font: 700 12px/1.2 inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.v2-rental-button:hover {
    border-color: var(--rental-primary-dark);
    background: var(--rental-primary-dark);
    color: #fff;
}

.v2-rental-button.is-secondary {
    border-color: #d9e2ef;
    background: #fff;
    color: #536a88;
}

.v2-rental-button.is-secondary:hover {
    border-color: #c8d6e9;
    background: #f5f8fc;
    color: var(--rental-primary);
}

.v2-rental-field {
    display: grid;
    gap: 7px;
    margin-top: 16px;
}

.v2-rental-field label {
    color: #4f627b;
    font-size: 12px;
    font-weight: 650;
}

.v2-rental-field input,
.v2-rental-field select,
.v2-rental-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
    color: #344b68;
    font: 600 12px/1.4 inherit;
    outline: 0;
}

.v2-rental-field textarea {
    min-height: 84px;
    resize: vertical;
}

.v2-rental-field input:focus,
.v2-rental-field select:focus,
.v2-rental-field textarea:focus {
    border-color: #94afe0;
    box-shadow: 0 0 0 3px rgba(49, 105, 209, .08);
}

/* ---------------------------------------------------------
   5. SEARCH / LIST PAGE
   --------------------------------------------------------- */
.v2-rental-search-page.v2-pariwisata-list {
    padding: 0 1.5rem;
    background: transparent;
}

.v2-rental-search-page .v2-pariwisata-filter {
    padding: 22px 19px 20px;
}

.v2-rental-search-page .v2-pariwisata-filter-head {
    margin-bottom: 21px;
}

.v2-rental-search-page .v2-pariwisata-filter h2 {
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: -.015em;
}

.v2-rental-search-page .v2-pariwisata-filter-head a {
    padding: 3px 0;
    font-size: 11px;
    letter-spacing: .01em;
}

.v2-rental-search-page .v2-rental-field {
    gap: 8px;
    margin-top: 20px;
}

.v2-rental-search-page .v2-rental-field:first-child {
    margin-top: 0;
}

.v2-rental-filter-details > .v2-pariwisata-filter-head {
    padding: 0;
}

.v2-rental-filter-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
}

.v2-rental-filter-actions a {
    color: var(--rental-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.v2-rental-search-page .v2-rental-field label {
    color: #5d6f8b;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.45;
}

.v2-rental-search-page .v2-rental-field input,
.v2-rental-search-page .v2-rental-field select {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 550;
}

.v2-rental-search-page .v2-pariwisata-filter .v2-rental-button {
    min-height: 42px;
    margin-top: 22px !important;
    font-size: 11.5px;
}

.v2-rental-search-page .v2-pariwisata-results-head {
    margin: 0 0 23px;
    padding: 2px 4px 0;
}

.v2-rental-search-page .v2-pariwisata-results-head > div {
    display: grid;
    gap: 4px;
}

.v2-rental-search-page .v2-pariwisata-results-head p {
    margin: 0;
    color: #8696ab;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -.015em;
}

.v2-rental-search-page .v2-pariwisata-results-head p:first-child {
    color: #7d8ea5;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.v2-rental-search-page .v2-pariwisata-results-head h2 {
    margin: 0;
    color: var(--rental-ink);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 780;
    line-height: 1.18;
    letter-spacing: -.04em;
}

.v2-rental-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.v2-rental-filter {
    padding: 16px;
}

.v2-rental-filter header,
.v2-rental-results-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.v2-rental-filter h2,
.v2-rental-results-head h2,
.v2-rental-panel h2 {
    margin: 0;
    color: var(--rental-ink);
    font-size: 15px;
    font-weight: 800;
}

.v2-rental-filter a {
    color: var(--rental-primary);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.v2-rental-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.v2-rental-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.v2-rental-card:hover {
    border-color: #c6d5e8;
    box-shadow: 0 12px 28px rgba(37, 57, 86, .08);
}

.v2-rental-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.v2-rental-card-image {
    position: relative;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #edf2f8;
}

.v2-rental-card-image img {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.v2-rental-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #47678e;
    font-size: 9px;
    font-weight: 750;
}

.v2-rental-card-body {
    padding: 16px;
}

.v2-rental-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--rental-ink);
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-rental-card-provider {
    margin: 5px 0 13px;
    color: var(--rental-muted);
    font-size: 11px;
}

.v2-rental-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    color: #667991;
    font-size: 11px;
}

.v2-rental-specs i {
    margin-right: 3px;
    color: var(--rental-primary);
}

.v2-rental-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #edf1f6;
}

.v2-rental-price small {
    display: block;
    color: var(--rental-muted);
    font-size: 10px;
}

.v2-rental-price strong {
    color: var(--rental-primary);
    font-size: 16px;
    font-weight: 800;
}

.v2-rental-empty {
    padding: 44px 20px;
    border: 1px dashed #cdd9e9;
    border-radius: 14px;
    color: var(--rental-muted);
    text-align: center;
}

.v2-rental-empty i {
    display: block;
    margin-bottom: 8px;
    color: var(--rental-primary);
    font-size: 28px;
}

.v2-rental-empty h2 {
    margin: 0;
    color: var(--rental-ink);
    font-size: 14px;
}

.v2-rental-empty p {
    margin: 6px 0 0;
    font-size: 11px;
}

/* ---------------------------------------------------------
   6. DETAIL PAGE
   --------------------------------------------------------- */
.v2-rental-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.v2-rental-gallery {
    overflow: hidden;
    border: 1px solid var(--rental-line);
    border-radius: 16px;
    background: #eaf0f7;
}

.v2-rental-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.v2-rental-detail-copy {
    margin-top: 16px;
}

.v2-rental-detail-copy h2 {
    margin: 0 0 8px;
    color: var(--rental-ink);
    font-size: 15px;
}

.v2-rental-detail-copy p {
    margin: 0;
    color: var(--rental-text);
    font-size: 12px;
    line-height: 1.65;
}

.v2-rental-location-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.v2-rental-location {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e8f1;
    border-radius: 10px;
    cursor: pointer;
}

.v2-rental-location:has(input:checked) {
    border-color: #90ace0;
    background: #f4f7ff;
}

.v2-rental-location input {
    margin-top: 3px;
    accent-color: var(--rental-primary);
}

.v2-rental-location strong {
    display: block;
    color: var(--rental-ink);
    font-size: 11px;
}

.v2-rental-location span {
    display: block;
    margin-top: 3px;
    color: var(--rental-muted);
    font-size: 9.5px;
    line-height: 1.45;
}

.v2-rental-summary {
    position: sticky;
    top: 18px;
    padding: 20px;
}

.v2-rental-summary h2 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rental-line);
    font-size: 15px;
}

.v2-rental-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f6;
    color: var(--rental-muted);
    font-size: 11px;
}

.v2-rental-summary-row strong {
    color: var(--rental-ink);
    text-align: right;
}

.v2-rental-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 16px 0;
    color: var(--rental-ink);
    font-size: 12px;
    font-weight: 700;
}

.v2-rental-total strong {
    color: var(--rental-primary);
    font-size: 21px;
}

.v2-rental-check {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    color: #667991;
    font-size: 10px;
    line-height: 1.5;
}

.v2-rental-check input {
    accent-color: var(--rental-primary);
}

/* ---------------------------------------------------------
   7. PAYMENT PAGE
   --------------------------------------------------------- */
.v2-rental-payment-page {
    padding-top: 26px;
}

.v2-rental-payment-page-head {
    margin-bottom: 18px;
}

.v2-rental-payment-page-head .v2-rental-breadcrumb {
    margin-bottom: 8px;
}

.v2-rental-payment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.v2-rental-payment-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Payment status
   Only this block changes its visual tone per state. */
.v2-rental-payment-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--rental-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.v2-rental-payment-status-icon {
    display: grid !important;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eef4ff;
    color: var(--rental-primary);
    font-size: 22px;
    line-height: 1;
}

.v2-rental-payment-status-icon i {
    color: inherit !important;
    font-size: inherit;
}

.v2-rental-payment-status-copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.v2-rental-payment-status-copy > small {
    margin: 0;
    color: #6f8198;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.v2-rental-payment-status-copy strong {
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: var(--rental-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.v2-rental-payment-status-copy span {
    display: block;
    margin: 0;
    color: var(--rental-muted);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.55;
}

/* Pending */
.v2-rental-payment-status.is-pending {
    border-color: #f4e4b9;
    background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
}

.v2-rental-payment-status.is-pending .v2-rental-payment-status-icon {
    background: #fff0c9;
    color: #d7921d;
}

.v2-rental-payment-status.is-pending .v2-rental-payment-status-copy > small,
.v2-rental-payment-status.is-pending .v2-rental-payment-status-copy strong {
    color: #bd7a1c;
}

/* Cancelled */
.v2-rental-payment-status.is-cancelled {
    border-color: #f1d9da;
    background: linear-gradient(135deg, #fff5f5 0%, #fffafa 100%);
}

.v2-rental-payment-status.is-cancelled .v2-rental-payment-status-icon {
    background: #fde4e5;
    color: #c55056;
}

.v2-rental-payment-status.is-cancelled .v2-rental-payment-status-copy > small,
.v2-rental-payment-status.is-cancelled .v2-rental-payment-status-copy strong {
    color: #b94a50;
}

/* Paid */
.v2-rental-payment-status.is-paid {
    border-color: #d9eadf;
    background: linear-gradient(135deg, #f2faf4 0%, #fbfefc 100%);
}

.v2-rental-payment-status.is-paid .v2-rental-payment-status-icon {
    background: #e1f1e5;
    color: #41815a;
}

.v2-rental-payment-status.is-paid .v2-rental-payment-status-copy > small,
.v2-rental-payment-status.is-paid .v2-rental-payment-status-copy strong {
    color: #45815c;
}

/* Timer is not displayed on this payment screen. */
.v2-rental-payment-countdown {
    display: none !important;
}

.v2-rental-payment-detail {
    padding: 0;
    overflow: hidden;
}

.v2-rental-payment-detail-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--rental-line-soft);
}

.v2-rental-payment-detail-head > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eef4ff;
    color: var(--rental-primary);
    font-size: 18px;
}

.v2-rental-payment-detail-head h2 {
    margin: 0;
    color: var(--rental-ink);
    font-size: 16px;
}

.v2-rental-payment-detail-head p {
    margin: 3px 0 0;
    color: var(--rental-muted);
    font-size: 11px;
}

.v2-rental-payment-page .v2-rental-list,
.v2-rental-payment-facts {
    margin: 0;
    padding: 0 20px;
}

.v2-rental-list > div,
.v2-rental-payment-page .v2-rental-payment-facts > div {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rental-line-soft);
}

.v2-rental-list dt {
    color: #667a94;
    font-size: 11px;
    font-weight: 650;
}

.v2-rental-list dd {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #314963;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    text-align: right;
    overflow-wrap: anywhere;
}

.v2-rental-list dd small {
    color: var(--rental-muted);
    font-size: 10px;
    font-weight: 600;
}

.v2-rental-payment-locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 3px 20px 18px;
    overflow: hidden;
    border: 1px solid var(--rental-line-soft);
    border-radius: 13px;
}

.v2-rental-payment-location {
    min-width: 0;
    padding: 15px;
}

.v2-rental-payment-location + .v2-rental-payment-location {
    border-left: 1px solid var(--rental-line-soft);
}

.v2-rental-payment-location > header {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 9px;
}

.v2-rental-payment-location > header > span {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: #55b580;
    box-shadow: 0 0 0 4px #ecf8f0;
}

.v2-rental-payment-location.is-dropoff > header > span {
    background: #e56363;
    box-shadow: 0 0 0 4px #fff0f0;
}

.v2-rental-payment-location small {
    display: block;
    color: #6d7f96;
    font-size: 11px;
    font-weight: 700;
}

.v2-rental-payment-location strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--rental-ink);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-rental-payment-location p {
    display: -webkit-box;
    min-height: 31px;
    margin: 4px 0 11px;
    overflow: hidden;
    color: var(--rental-muted);
    font-size: 10px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.v2-rental-map-preview {
    position: relative;
    display: grid;
    place-items: center;
    height: 140px;
    overflow: hidden;
    border-radius: 9px;
    background: linear-gradient(135deg, #edf4fb, #f9fbfd);
    color: #8294aa;
    font-size: 10px;
}

.v2-rental-map-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.6) contrast(.92) brightness(1.05);
}

.v2-rental-map-preview > a {
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: #4e6688;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.v2-rental-map-preview > i {
    margin-right: 4px;
    color: var(--rental-primary);
    font-size: 16px;
}

.v2-rental-payment-customer {
    display: grid;
    grid-template-columns: 42px minmax(100px, .6fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 11px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--rental-line-soft);
}

.v2-rental-payment-customer > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef4ff;
    color: var(--rental-primary);
}

.v2-rental-payment-customer > small {
    color: #6c7d92;
    font-size: 11px;
    font-weight: 650;
}

.v2-rental-payment-customer > div {
    min-width: 0;
    text-align: right;
}

.v2-rental-payment-customer strong {
    color: var(--rental-ink);
    font-size: 12px;
}

.v2-rental-payment-customer p {
    margin: 3px 0 0;
    overflow: hidden;
    color: var(--rental-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-rental-payment-detail-head > .v2-rental-payment-customer {
    display: block;
    margin-left: auto;
    padding: 0;
    border: 0;
}

.v2-rental-payment-detail-head > .v2-rental-payment-customer > div {
    min-width: 0;
    text-align: right;
}

.v2-rental-payment-detail-head > .v2-rental-payment-customer strong {
    display: block;
    margin: 0;
    font-size: 11px;
}

.v2-rental-payment-detail-head > .v2-rental-payment-customer p {
    margin: 2px 0 0;
    color: var(--rental-muted);
    font-size: 9px;
    line-height: 1.35;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   8. PAYMENT SUMMARY / RIGHT RAIL
   --------------------------------------------------------- */
.v2-rental-payment-summary {
    position: sticky;
    top: 20px;
    padding: 20px;
}

.v2-rental-payment-summary h2 {
    margin: 0 0 2px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rental-line);
    color: var(--rental-ink);
    font-size: 15px;
    font-weight: 800;
}

.v2-rental-payment-summary .v2-rental-payment-status {
    margin: 0 0 20px;
    padding: 16px;
    border-radius: 14px;
}

.v2-rental-payment-summary .v2-rental-payment-status-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 21px;
}

.v2-rental-payment-summary .v2-rental-payment-status-copy {
    gap: 4px;
}

.v2-rental-payment-summary .v2-rental-payment-status-copy > small {
    font-size: 9.5px;
}

.v2-rental-payment-summary .v2-rental-payment-status-copy strong {
    font-size: 14px;
}

.v2-rental-payment-summary .v2-rental-payment-status-copy span {
    font-size: 10px;
    line-height: 1.5;
}

.v2-rental-payment-total {
    display: grid;
    gap: 4px;
    margin: 16px -20px 17px;
    padding: 20px;
    background: linear-gradient(110deg, #edf4ff, #f8fbff);
}

.v2-rental-payment-total > span {
    color: #385d94;
    font-size: 12px;
    font-weight: 750;
}

.v2-rental-payment-total small {
    color: var(--rental-muted);
    font-size: 10px;
}

.v2-rental-payment-total strong {
    color: var(--rental-primary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
}

/* Keep this consistent across every payment status. */
.v2-rental-payment-security {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    background: #f8fafc;
    color: #52657e;
}

.v2-rental-payment-security > i {
    display: none;
}

.v2-rental-payment-security span {
    display: grid;
    gap: 2px;
}

.v2-rental-payment-security strong {
    color: #425774;
    font-size: 11px;
}

.v2-rental-payment-security small {
    color: var(--rental-muted);
    font-size: 10px;
}

.v2-rental-payment-actions {
    display: grid;
    gap: 10px;
}

.v2-rental-payment-actions .v2-rental-button {
    width: 100%;
    min-height: 44px;
}

.v2-rental-payment-message {
    min-height: 15px;
    margin: 1px 0 0;
    color: #71839a;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

.v2-rental-payment-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 20px 0 0;
    color: #8996a8;
    font-size: 10px;
}

/* ---------------------------------------------------------
   9. HISTORY
   --------------------------------------------------------- */
.v2-rental-history-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.v2-rental-history-item + .v2-rental-history-item {
    margin-top: 10px;
}

.v2-rental-history-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef4ff;
    color: var(--rental-primary);
}

.v2-rental-history-item h2 {
    margin: 0;
    color: var(--rental-ink);
    font-size: 13px;
}

.v2-rental-history-item p {
    margin: 4px 0 0;
    color: var(--rental-muted);
    font-size: 11px;
}

.v2-rental-history-side {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.v2-rental-history-side strong {
    color: var(--rental-primary);
    font-size: 15px;
}

.v2-rental-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff6e9;
    color: #bd7b24;
    font-size: 10px;
    font-weight: 800;
}

.v2-rental-badge.is-paid {
    background: #eaf7ef;
    color: #31835a;
}

/* ---------------------------------------------------------
   10. INVOICE (SCREEN)
   --------------------------------------------------------- */
.v2-rental-invoice-page {
    padding: 24px 0 48px;
}

.v2-rental-invoice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    max-width: 920px;
    margin: 0 auto 12px;
}

.v2-rental-invoice-modern {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px;
    overflow: visible;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(31, 51, 80, .07);
}

.v2-rental-invoice-brand {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #214cad;
}

.v2-rental-invoice-brand > div {
    display: grid;
    gap: 4px;
}

.v2-rental-invoice-logo {
    display: block;
    width: auto;
    height: 31px;
    object-fit: contain;
    object-position: left center;
}

.v2-rental-invoice-brand span {
    color: #62708a;
    font-size: 11px;
    font-weight: 750;
}

.v2-rental-invoice-brand p {
    margin: 0;
    color: #41536e;
    font-size: 10px;
    line-height: 1.55;
    text-align: right;
}

.v2-rental-invoice-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    padding: 32px 6px 28px;
}

.v2-rental-invoice-title-row h1 {
    margin: 0;
    color: #0c2862;
    font-size: 51px;
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .98;
}

.v2-rental-invoice-title-row > div > p {
    margin: 7px 0 0;
    color: #2654b8;
    font-size: 15px;
    font-weight: 700;
}

.v2-rental-invoice-order {
    display: grid;
    align-content: start;
    gap: 5px;
    padding-left: 27px;
    border-left: 1px solid #dce4ef;
}

.v2-rental-invoice-order small {
    color: #61708a;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.v2-rental-invoice-order strong {
    color: #152d60;
    font-size: 18px;
    font-weight: 800;
}

.v2-rental-invoice-order > span {
    padding: 6px 10px;
    color: #ba7a22;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.v2-rental-invoice-order > span.is-paid {
    background: #eaf7ef;
    color: #397d50;
}

.v2-rental-invoice-order > span.is-pending {
    background: #fff7e7;
}

.v2-rental-invoice-order p {
    margin: 4px 0 0;
    color: #52637a;
    font-size: 10px;
    text-align: center;
}

.v2-rental-invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v2-rental-invoice-info {
    min-width: 0;
    padding: 14px 10px 20px;
    border-top: 1px dashed #dce4ed;
}

.v2-rental-invoice-info:nth-child(odd) {
    padding-right: 27px;
    border-right: 1px dashed #dce4ed;
}

.v2-rental-invoice-info:nth-child(even) {
    padding-left: 27px;
}

.v2-rental-invoice-info h2,
.v2-rental-invoice-rental-detail h2,
.v2-rental-invoice-payment-detail h2 {
    margin: 0 0 10px;
    color: #1a49a9;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.v2-rental-invoice-info dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.v2-rental-invoice-info dl > div {
    display: grid;
    grid-template-columns: 43% minmax(0, 1fr);
    gap: 9px;
}

.v2-rental-invoice-info dt,
.v2-rental-invoice-info dd {
    margin: 0;
    color: #52627a;
    font-size: 10px;
    line-height: 1.35;
}

.v2-rental-invoice-info dt::after {
    content: ':';
    float: right;
}

.v2-rental-invoice-info dd {
    color: #253957;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.v2-rental-invoice-info dd.is-paid {
    color: #397d50;
}

.v2-rental-invoice-rental-detail {
    margin-top: 9px;
    padding: 16px 17px;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
}

.v2-rental-invoice-rental-detail > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #e6ebf2;
}

.v2-rental-invoice-rental-detail > div:first-of-type {
    border-top: 0;
}

.v2-rental-invoice-rental-detail > div > strong {
    color: #233955;
    font-size: 10px;
}

.v2-rental-invoice-rental-detail > div > span {
    display: grid;
    gap: 3px;
    color: #596a81;
    font-size: 10px;
    line-height: 1.45;
}

.v2-rental-invoice-rental-detail b {
    color: #263b59;
    font-size: 10px;
}

.v2-rental-invoice-rental-date {
    grid-template-columns: 140px minmax(0, 1fr) 140px minmax(0, 1fr) !important;
}

.v2-rental-invoice-payment-detail {
    margin-top: 18px;
}

.v2-rental-invoice-payment-head,
.v2-rental-invoice-payment-row,
.v2-rental-invoice-grand-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
    align-items: center;
}

.v2-rental-invoice-payment-head {
    padding: 8px 16px;
    background: #12388f;
    color: #fff;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.v2-rental-invoice-payment-head span:last-child,
.v2-rental-invoice-payment-row strong,
.v2-rental-invoice-grand-total strong {
    text-align: right;
}

.v2-rental-invoice-payment-row {
    padding: 9px 16px;
    border: 1px solid #e5eaf1;
    border-top: 0;
    color: #445771;
    font-size: 10px;
}

.v2-rental-invoice-payment-row strong {
    color: #2c3e5b;
    font-size: 10px;
}

.v2-rental-invoice-grand-total {
    padding: 13px 16px;
    background: linear-gradient(100deg, #eef4ff, #f8faff);
    color: #173a94;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.v2-rental-invoice-grand-total strong {
    font-size: 21px;
    letter-spacing: -.025em;
}

.v2-rental-invoice-footer {
    margin-top: 20px;
    padding-top: 11px;
    border-top: 2px solid #214cad;
    color: #63728a;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.v2-rental-invoice-footer strong {
    color: #1d49aa;
}

/* ---------------------------------------------------------
   11. RESPONSIVE
   --------------------------------------------------------- */
@media (min-width: 801px) and (max-width: 1080px) {
    .v2-rental-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .v2-rental,
    .v2-rental-search-page.v2-pariwisata-list {
        padding: 20px 1rem 40px;
    }

    .v2-rental-layout,
    .v2-rental-detail,
    .v2-rental-payment {
        grid-template-columns: 1fr;
    }

    .v2-rental-summary,
    .v2-rental-payment-summary {
        position: static;
    }

    .v2-rental-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .v2-rental-invoice-modern {
        padding: 20px 15px;
    }

    .v2-rental-invoice-brand,
    .v2-rental-invoice-title-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .v2-rental-invoice-brand p {
        text-align: left;
    }

    .v2-rental-invoice-title-row {
        gap: 20px;
        padding-inline: 0;
    }

    .v2-rental-invoice-title-row h1 {
        font-size: 38px;
    }

    .v2-rental-invoice-order {
        padding-top: 16px;
        padding-left: 0;
        border-top: 1px solid #dce4ef;
        border-left: 0;
    }

    .v2-rental-invoice-info-grid {
        grid-template-columns: 1fr;
    }

    .v2-rental-invoice-info:nth-child(n) {
        padding: 15px 0;
        border-right: 0;
    }

    .v2-rental-invoice-rental-detail > div,
    .v2-rental-invoice-rental-date {
        grid-template-columns: 1fr !important;
        gap: 5px;
    }

    .v2-rental-invoice-rental-date strong:not(:first-child) {
        margin-top: 7px;
    }

    .v2-rental-invoice-payment-head,
    .v2-rental-invoice-payment-row,
    .v2-rental-invoice-grand-total {
        grid-template-columns: minmax(0, 1fr) 110px;
        gap: 9px;
    }

    .v2-rental-invoice-actions {
        padding-inline: 2px;
    }

    .v2-rental-invoice-actions .v2-rental-button {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .v2-rental-search-page .v2-pariwisata-filter {
        padding: 18px 16px;
    }

    .v2-rental-payment-detail-head {
        flex-wrap: wrap;
    }

    .v2-rental-payment-detail-head > .v2-rental-payment-customer {
        width: 100%;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--rental-line-soft);
    }

    .v2-rental-payment-detail-head > .v2-rental-payment-customer > div {
        text-align: left;
    }

    .v2-rental-payment-locations {
        grid-template-columns: 1fr;
    }

    .v2-rental-payment-location + .v2-rental-payment-location {
        border-top: 1px solid var(--rental-line-soft);
        border-left: 0;
    }

    .v2-rental-payment-customer {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .v2-rental-payment-customer > div {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .v2-rental-container {
        width: min(calc(100% - 28px), 1200px);
    }

    .v2-rental-card-body,
    .v2-rental-summary,
    .v2-rental-invoice-body {
        padding: 16px;
    }

    .v2-rental-invoice-head {
        padding: 18px;
    }

    .v2-rental-list > div,
    .v2-rental-payment-page .v2-rental-payment-facts > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .v2-rental-list dd {
        text-align: left;
    }

    .v2-rental-history-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .v2-rental-history-side {
        grid-column: 1 / -1;
        justify-items: start;
        padding-left: 51px;
    }
}

/* ---------------------------------------------------------
   12. PRINT / PDF INVOICE
   --------------------------------------------------------- */
@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    body {
        background: #fff !important;
    }

    .v2-body > :not(.v2-main),
    .v2-main > :not(.v2-rental-invoice-page),
    .no-print {
        display: none !important;
    }

    .v2-main {
        display: block !important;
        padding: 0 !important;
    }

    .v2-rental.v2-rental-invoice-page {
        min-height: 0;
        padding: 0;
        background: #fff;
    }

    .v2-rental-invoice-page .v2-rental-container {
        width: 100%;
        max-width: none;
    }

    .v2-rental-invoice-modern {
        max-width: none;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .v2-rental-invoice-title-row {
        padding-top: 22px;
        padding-bottom: 18px;
    }

    .v2-rental-invoice-title-row h1 {
        font-size: 44px;
    }

    .v2-rental-invoice-info {
        padding-top: 10px;
        padding-bottom: 14px;
    }

    .v2-rental-invoice-rental-detail {
        break-inside: avoid;
    }

    .v2-rental-invoice-payment-head,
    .v2-rental-invoice-payment-row,
    .v2-rental-invoice-grand-total {
        break-inside: avoid;
    }

    .v2-rental-invoice-modern,
    .v2-rental-invoice-payment-head,
    .v2-rental-invoice-grand-total {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .v2-rental-invoice-payment-head {
        background-color: #12388f !important;
        color: #fff !important;
    }

    .v2-rental-invoice-grand-total {
        background-color: #eef4ff !important;
        color: #173a94 !important;
    }
}
