/**
 * Bike Rental Plugin Styles
 * Dark theme with red accents - Matching design mockups
 */

/* ============================================
   CSS Variables & Font Imports
   ============================================ */

:root {
    --brp-primary: #c23b3b;
    --brp-primary-hover: #a82f2f;
    --brp-primary-light: #d64545;
    --brp-bg-dark: #0c0c0c;
    --brp-bg-card: #1a1a1a;
    --brp-bg-card-hover: #252525;
    --brp-bg-white: #ffffff;
    --brp-text-white: #ffffff;
    --brp-text-light: #e0e0e0;
    --brp-text-muted: #888888;
    --brp-text-dark: #1a1a1a;
    --brp-border-dark: #333333;
    --brp-border-light: #444444;
    --brp-border-card: #2a2a2a;
    --brp-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --brp-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --brp-radius: 8px;
    --brp-radius-lg: 12px;
    --brp-transition: all 0.3s ease;
    --brp-font-display: 'Lalezar';
    --brp-font-body: 'Poppins';
}

/* ============================================
   Search Widget Styles
   ============================================ */
.brp-search-widget {
    background: var(--brp-bg-white);
    border-radius: 12px;
    padding: 6px 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.brp-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.brp-search-card {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.brp-search-field {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-right: 1px solid #eee;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    transition: var(--brp-transition);
    position: relative;
}

.brp-search-field:hover {
    background: transparent;
}

.brp-search-field:first-child {
    border-radius: 50px 0 0 50px;
}

.brp-field-icon {
    margin-right: 10px;
    color: var(--brp-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.brp-field-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.brp-field-content {
    flex: 1;
    min-width: 0;
}

.brp-field-content label {
    display: block;
    font-size: 10px;
    color: var(--brp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 500;
    font-family: var(--brp-font-body);
}

.brp-field-content select,
.brp-field-content input,
.brp-field-content input:is([type=url], [type=tel], [type=text], [type=time], [type=date], [type=datetime], [type=datetime-local], [type=email], [type=number], [type=search], [type=password]) {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--brp-text-dark);
    padding: 0 20px 0 0;
    cursor: pointer;
    font-family: var(--brp-font-body);
    appearance: none;
    -webkit-appearance: none;
    text-overflow: ellipsis;
    height: 20px;
}

.brp-field-content select:focus,
.brp-field-content input:focus {
    outline: none;
}

.brp-field-content input::placeholder {
    color: var(--brp-text-dark);
    font-weight: 600;
}

/* Date input in search widget - no border, match other fields */
.brp-search-widget .brp-date-input {
    border: none !important;
    padding: 0 !important;
    padding-right: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 20px;
}

.brp-search-widget .brp-date-input::placeholder {
    color: var(--brp-text-dark);
    font-weight: 600;
    font-size: 13px;
    opacity: 1;
}

.brp-field-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 1;
}

.brp-field-arrow svg {
    width: 16px;
    height: 16px;
}

[type=submit].brp-search-btn {
    background: var(--brp-primary);
    color: var(--brp-bg-white);
    border: none;
    border-radius: 8px;
    padding: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--brp-transition);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-left: 6px;
    line-height: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.brp-search-widget .brp-search-btn-text {
    display: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--brp-font-body);
    letter-spacing: 0.2px;
}

.brp-search-btn-icon {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: inherit;
}

.brp-search-btn:hover {
    background: var(--brp-primary-hover);
    transform: scale(1.03);
}

.brp-search-btn-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5;
    display: block;
    transform: translateY(1px);
}

/* Search widget responsive */
@media (max-width: 992px) {
    .brp-search-form {
        flex-wrap: wrap;
    }

    .brp-search-card {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .brp-search-field {
        flex: 1 1 calc(50% - 1px);
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .brp-search-field:nth-child(odd) {
        border-right: 1px solid #eee;
    }

    [type=submit].brp-search-btn {
        flex: 1 1 100%;
        margin-left: 0;
        margin-top: 8px;
        padding: 0;
        height: 48px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .brp-search-widget {
        background: transparent;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .brp-search-card {
        background: var(--brp-bg-white);
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        overflow: hidden;
    }

    .brp-search-field {
        flex: 1 1 100%;
        border-right: none !important;
        border-bottom: 1px solid #e6e6e6;
        padding: 14px 16px;
    }

    .brp-search-field:first-child {
        border-radius: 0;
    }

    .brp-search-field:last-of-type {
        border-bottom: none;
        border-radius: 0;
    }

    [type=submit].brp-search-btn {
        flex: 0 0 auto;
        width: 65%;
        max-width: 220px;
        min-width: 150px;
        margin-top: 14px;
        margin-left: 0;
        border-radius: 14px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        line-height: 1;
        align-self: flex-start;
    }

    .brp-search-widget .brp-search-btn-text {
        display: inline-block;
        line-height: 1.2;
    }

    .brp-search-btn-icon {
        width: 28px;
        height: 28px;
        background: #ffffff;
        color: var(--brp-primary);
        border-radius: 999px;
    }

    .brp-search-btn-icon svg {
        width: 16px !important;
        height: 16px !important;
        transform: none;
    }

    .brp-field-content label {
        text-transform: none;
        font-size: 11px;
        letter-spacing: 0.2px;
        color: #8f8f8f;
        margin-bottom: 2px;
    }

    .brp-field-content select,
    .brp-field-content input {
        font-size: 15px;
        height: auto;
    }

    .brp-field-icon {
        margin-right: 12px;
    }

    .brp-field-icon svg {
        width: 18px;
        height: 18px;
    }

    .brp-field-arrow {
        margin-left: 0;
        color: #1a1a1a;
        opacity: 0.6;
    }

    .brp-field-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   Bike Listing Styles
   ============================================ */
.brp-bike-listing {
    background: var(--brp-bg-dark);
    min-height: 100vh;
}

.brp-listing-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.brp-listing-title {
    font-family: var(--brp-font-display);
    font-size: 56px;
    font-weight: 400;
    color: var(--brp-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 35px 0;
    line-height: 1;
}

/* Bike Filters */
.brp-bike-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.brp-filter-btn {
    background: var(--brp-bg-white);
    border: 1px solid #555;
    color: var(--brp-text-dark);
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
}

.brp-filter-btn:hover {
    border-color: var(--brp-primary);
    color: var(--brp-primary);
}

.brp-filter-btn.active {
    background: var(--brp-primary);
    border-color: var(--brp-primary);
    color: var(--brp-text-white);
}

/* Bikes Grid */
.brp-bikes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .brp-bikes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brp-bikes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: none;
    }

    .brp-listing-title {
        font-size: 40px;
    }
}

/* Bike Card */
.brp-bike-card {
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none;
    opacity: 0;
    animation: brp-fadeIn 0.5s ease forwards;
}

.brp-bike-card:hover {
    transform: translateY(-4px);
}

.brp-bike-card.unavailable {
    opacity: 0.5;
}

.brp-bike-image {
    position: relative;
    background: var(--brp-bg-white);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brp-bike-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.brp-bike-card:hover .brp-bike-image img {
    transform: scale(1.03);
}

.brp-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: #fafafa;
    color: #ccc;
    font-size: 14px;
    font-family: var(--brp-font-body);
}

.brp-no-image svg {
    opacity: 0.4;
}

.brp-bike-info {
    padding: 16px 20px 20px;
    background: var(--brp-bg-white);
}

.brp-bike-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.brp-bike-title-group {
    flex: 1;
}

.brp-bike-name {
    font-family: var(--brp-font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--brp-text-dark);
    margin: 0 0 4px 0;
    line-height: 1.3;
    flex: 1;
}

.brp-bike-price {
    text-align: right;
    flex-shrink: 0;
}

.brp-price-label {
    font-size: 10px;
    color: #888;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.brp-price-value {
    font-family: var(--brp-font-body);
    font-size: 24px;
    font-weight: 600;
    color: var(--brp-primary);
}

.brp-price-suffix {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.brp-bike-category {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-family: var(--brp-font-body);
    font-weight: 400;
}

.brp-view-details-btn {
    display: block;
    width: 100%;
    background: var(--brp-primary);
    color: var(--brp-text-white);
    text-align: center;
    padding: 12px 20px;
    border: none;
    border-radius: var(--brp-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
}

.brp-view-details-btn:hover {
    background: var(--brp-primary-hover);
    color: var(--brp-text-white);
    text-decoration: none;
}

/* ============================================
   Bike Detail Styles
   ============================================ */
.brp-bike-detail {
    background: var(--brp-bg-dark);
    min-height: 100vh;
}

.brp-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.brp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brp-text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
}

.brp-back-link:hover {
    color: var(--brp-text-white);
    text-decoration: none;
}

.brp-back-link .brp-back-arrow {
    color: var(--brp-primary);
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.brp-detail-footer {
    margin-top: 24px;
}

.brp-back-link-bottom {
    display: none;
}

/* Detail Content Layout */
.brp-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    margin-bottom: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .brp-detail-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Left Column - Image and Info */
.brp-detail-left {
    display: flex;
    flex-direction: column;
}

.brp-detail-image {
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.brp-detail-image img {
    width: 100%;
    height: auto;
}

.brp-detail-image svg {
    color: #ccc;
}

.brp-detail-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
}

.brp-detail-no-image svg {
    opacity: 0.5;
}

.brp-detail-no-image p {
    color: #999;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    font-family: var(--brp-font-body);
}

/* Right Column - Pricing and Book */
.brp-detail-right {
    display: flex;
    flex-direction: column;
}

.brp-detail-name {
    font-family: var(--brp-font-display);
    font-size: 30px;
    font-weight: 400;
    color: var(--brp-text-white);
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: 0.8px;
}

.brp-detail-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
    margin-bottom: 0;
    font-family: var(--brp-font-body);
}

/* Pricing Tables */
.brp-pricing-section {
    margin-bottom: 28px;
}

.brp-pricing-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brp-text-white);
    margin: 0 0 4px 0;
    font-family: var(--brp-font-body);
}

.brp-pricing-period {
    font-size: 12px;
    color: var(--brp-text-muted);
    margin-bottom: 14px;
    font-family: var(--brp-font-body);
}

.brp-pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.brp-pricing-tier {
    background: var(--brp-bg-white);
    padding: 16px 14px;
    text-align: center;
    border-radius: var(--brp-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.brp-tier-days {
    font-size: 14px;
    font-weight: 600;
    color: var(--brp-text-dark);
    margin-bottom: 8px;
    font-family: var(--brp-font-body);
}

.brp-tier-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--brp-text-dark);
    font-family: var(--brp-font-body);
}

.brp-tier-suffix {
    font-size: 12px;
    font-weight: 400;
    color: var(--brp-text-muted);
    margin-left: 2px;
    text-transform: lowercase;
}

/* Terms and Book Button */
.brp-detail-cta {
    margin-top: 10px;
}

.brp-bike-detail .brp-detail-cta a {
    text-decoration: underline;
}

.brp-terms-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 18px;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
    text-decoration: underline;
}

.brp-terms-link:hover {
    color: var(--brp-text-white);

}

.brp-book-now-btn {
    display: inline-block;
    background: var(--brp-primary);
    color: var(--brp-text-white);
    padding: 14px 58px;
    border: none;
    border-radius: var(--brp-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--brp-transition);
    text-align: center;
    font-family: var(--brp-font-body);
}

.brp-book-now-btn:hover {
    background: var(--brp-primary-hover);
    color: var(--brp-text-white);
    text-decoration: none;
}

.brp-book-now-btn.disabled,
.brp-book-now-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.brp-book-now-btn.disabled:hover,
.brp-book-now-btn:disabled:hover {
    background: #666;
    transform: none;
}

/* Specs Table */
.brp-specs-section {
    background: transparent;
    margin-top: 40px;
}

.brp-specs-header {
    background: #d9d9d9;
    padding: 12px 18px;
    border-radius: 10px;
}

.brp-specs-title {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin: 0 !important;
    font-family: var(--brp-font-body);
}

.brp-specs-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-top: 10px;
}

.brp-specs-table tr {
    border-bottom: 1px solid #2a2a2a;
}

.brp-specs-table tr:last-child {
    border-bottom: 1px solid #2a2a2a;
}

.brp-specs-table tr:last-child td {
    border-bottom: 1px solid #2a2a2a;
}

/* Override block removed to allow bottom borders */

.brp-specs-table td {
    padding: 14px 18px;
    font-size: 13px;
    color: #f1f1f1;
    font-weight: 500;
    font-family: var(--brp-font-body);
    vertical-align: top;
    border: none;
    background: #0f0f0f;
}

.brp-specs-table td:first-child {
    width: 220px;
}

@media (max-width: 768px) {
    .brp-specs-table td:first-child {
        width: 140px;
    }

    .brp-specs-table td {
        padding: 14px 20px;
    }

    .brp-detail-name {
        font-size: 24px;
    }

    .brp-pricing-table {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .brp-pricing-tier {
        padding: 12px 8px;
        border-radius: 8px;
    }

    .brp-tier-days {
        font-size: 10px;
    }

    .brp-tier-price {
        font-size: 18px;
    }

    .brp-tier-suffix {
        font-size: 10px;
    }
}

/* ============================================
   Loading States
   ============================================ */
.brp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 200px;
}

.brp-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--brp-border-dark);
    border-top-color: var(--brp-primary);
    border-radius: 50%;
    animation: brp-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes brp-spin {
    to {
        transform: rotate(360deg);
    }
}

.brp-loading p {
    color: var(--brp-text-muted);
    font-size: 16px;
    margin: 0;
    font-family: var(--brp-font-body);
}

.brp-bikes-grid .brp-loading {
    grid-column: 1 / -1;
}

/* ============================================
   Error States
   ============================================ */
.brp-error {
    text-align: center;
    padding: 80px 20px;
}

.brp-error-icon {
    width: 64px;
    height: 64px;
    color: var(--brp-primary);
    margin: 0 auto 20px;
    display: block;
}

.brp-error-message {
    color: var(--brp-text-light);
    font-size: 16px;
    margin: 0 0 24px 0;
    font-family: var(--brp-font-body);
}

.brp-retry-btn {
    background: var(--brp-primary);
    color: var(--brp-text-white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--brp-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
}

.brp-retry-btn:hover {
    background: var(--brp-primary-hover);
}

/* ============================================
   No Results State
   ============================================ */
.brp-no-results {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1 / -1;
}

.brp-no-results-icon {
    width: 80px;
    height: 80px;
    color: var(--brp-text-muted);
    margin: 0 auto 24px;
    display: block;
}

.brp-no-results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--brp-text-white);
    margin: 0 0 12px 0;
    font-family: var(--brp-font-body);
}

.brp-no-results-message {
    color: var(--brp-text-muted);
    font-size: 16px;
    margin: 0;
    font-family: var(--brp-font-body);
}

/* ============================================
   Date Picker Popup
   ============================================ */
.brp-datepicker-popup {
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    padding: 20px;
    min-width: 300px;
    font-family: var(--brp-font-body);
    z-index: 100000;
}

.brp-calendar {
    width: 100%;
}

.brp-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.brp-cal-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--brp-text-dark);
}

.brp-cal-prev,
.brp-cal-next {
    background: #f5f5f5;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--brp-text-muted);
    transition: var(--brp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brp-cal-prev:hover,
.brp-cal-next:hover {
    background: var(--brp-primary);
    color: var(--brp-text-white);
}

.brp-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.brp-day-name {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--brp-text-muted);
    padding: 8px 0;
    text-transform: uppercase;
}

.brp-day-cell {
    text-align: center;
    padding: 11px 4px;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--brp-radius);
    transition: var(--brp-transition);
    color: var(--brp-text-dark);
    font-weight: 500;
}

.brp-day-cell:hover:not(.disabled):not(.empty) {
    background: #f0f0f0;
}

.brp-day-cell.selected {
    background: var(--brp-primary);
    color: var(--brp-text-white);
}

.brp-day-cell.today {
    border: 2px solid var(--brp-primary);
}

.brp-day-cell.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.brp-day-cell.empty {
    cursor: default;
}

/* ============================================
   Animations
   ============================================ */
@keyframes brp-fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brp-bike-card:nth-child(1) {
    animation-delay: 0.05s;
}

.brp-bike-card:nth-child(2) {
    animation-delay: 0.1s;
}

.brp-bike-card:nth-child(3) {
    animation-delay: 0.15s;
}

.brp-bike-card:nth-child(4) {
    animation-delay: 0.2s;
}

.brp-bike-card:nth-child(5) {
    animation-delay: 0.25s;
}

.brp-bike-card:nth-child(6) {
    animation-delay: 0.3s;
}

.brp-bike-card:nth-child(7) {
    animation-delay: 0.35s;
}

.brp-bike-card:nth-child(8) {
    animation-delay: 0.4s;
}

.brp-bike-card:nth-child(9) {
    animation-delay: 0.45s;
}

.brp-bike-card:nth-child(10) {
    animation-delay: 0.5s;
}

.brp-bike-card:nth-child(11) {
    animation-delay: 0.55s;
}

.brp-bike-card:nth-child(12) {
    animation-delay: 0.6s;
}

/* ============================================
   Utility Classes
   ============================================ */
.brp-hidden {
    display: none !important;
}

.brp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Dark section wrapper (for use on light pages) */
.brp-dark-section {
    background: var(--brp-bg-dark);
    margin: 0 calc(-50vw + 50%);
    padding: 0 calc(50vw - 50%);
}

/* ============================================
   Additional Responsive Styles
   ============================================ */
@media (max-width: 640px) {

    .brp-listing-header {
        text-align: center;
        margin-bottom: 22px;
    }

    .brp-listing-title {
        font-size: 36px;
        letter-spacing: 0.8px;
        text-transform: none;
        margin-bottom: 18px;
    }

    .brp-bike-filters {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        gap: 12px;
        padding-bottom: 0;
        margin-bottom: 26px;
    }

    .brp-bike-filters::-webkit-scrollbar {
        display: none;
    }

    .brp-filter-btn {
        background: var(--brp-bg-white);
        color: var(--brp-text-dark);
        border-color: #e0e0e0;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 600;
        border-radius: 14px;
        flex: 1 1 calc(33.333% - 12px);
        min-width: 92px;
        text-align: center;
    }

    .brp-filter-btn.active {
        background: var(--brp-primary);
        border-color: var(--brp-primary);
        color: var(--brp-text-white);
    }

    .brp-bikes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0;
    }

    .brp-bike-card {
        border-radius: 8px;
        border: none;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
        overflow: hidden;
    }

    .brp-bike-image {
        height: 120px;
        padding: 8px;
    }

    .brp-bike-image img {
        object-fit: contain;
    }

    .brp-bike-info {
        padding: 8px 8px 8px;
    }

    .brp-bike-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 12px;
        padding: 0 5px;
    }

    .brp-bike-name {
        font-size: 15px;
    }

    .brp-bike-category {
        font-size: 12px;
        color: #777;
    }

    .brp-bike-price {
        text-align: left;
        margin-top: 4px;
    }

    .brp-price-label {
        display: block;
        font-size: 12px;
        color: #777;
        text-transform: none;
        letter-spacing: 0;
        margin-bottom: 0;
    }

    .brp-price-value {
        font-size: 18px;
    }

    .brp-price-suffix {
        font-size: 12px;
    }

    .brp-view-details-btn {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 12px;
        margin-top: 6px;
    }



    .brp-back-link {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .brp-back-link-bottom {
        display: inline-flex;
    }

    .brp-detail-image {
        min-height: 200px;
        padding: 14px;
    }

    .brp-detail-name {
        font-size: 24px;
        letter-spacing: 0.5px;
    }

    .brp-detail-description {
        font-size: 13px;
    }

    .brp-detail-main {
        gap: 24px;
        margin-bottom: 28px;
    }

    .brp-pricing-section {
        margin-bottom: 18px;
    }

    .brp-pricing-title {
        font-size: 14px;
    }

    .brp-pricing-period {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .brp-pricing-table {
        gap: 8px;
    }

    .brp-pricing-tier {
        padding: 10px 6px;
        border-radius: 8px;
    }

    .brp-tier-days {
        font-size: 14px;
    }

    .brp-tier-price {
        font-size: 16px;
    }

    .brp-tier-suffix {
        font-size: 14px;
    }

    .brp-terms-link {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: center;
    }

    .brp-book-now-btn {
        padding: 10px 26px;
        font-size: 14px;
        border-radius: 6px;
    }

    .brp-book-now-suffix {
        display: none;
    }

    .brp-specs-header {
        border-radius: 8px;
        padding: 10px 14px;
    }

    .brp-specs-title {
        font-size: 14px;
    }

    .brp-specs-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* Mobile detail layout to match phone design */
    .brp-pricing-table {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .brp-pricing-tier {
        min-width: 0;
        flex: initial;
        padding: 12px 8px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .brp-detail-cta {
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .brp-book-now-wrap {
        text-align: center;
    }

    .brp-book-now-btn {
        width: auto;
        margin: 0 auto;
        border-radius: 8px;
        font-size: 15px;
        padding: 12px 36px;
    }
}

@media (max-width: 480px) {
    .brp-listing-title {
        font-size: 32px;
        letter-spacing: 0.5px;
    }

    .brp-filter-btn {
        padding: 9px 0;
        font-size: 13px;
        min-width: 84px;
        flex: 1 1 calc(33.333% - 10px);
    }

    h3.brp-bike-name {
        font-size: 14px;
        margin-bottom: 0;
    }

    .brp-price-value {
        font-size: 17px;
    }

    .brp-view-details-btn {
        padding: 9px 10px;
        font-size: 12px;
    }

    .brp-detail-name {
        font-size: 22px;
    }

    .brp-book-now-btn {
        padding: 12px 36px;
        font-size: 15px;
        border-radius: 8px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

    .brp-search-widget,
    .brp-bike-filters,
    .brp-book-now-btn,
    .brp-view-details-btn,
    .brp-back-link {
        display: none !important;
    }

    .brp-bike-listing,
    .brp-bike-detail {
        background: white !important;
        color: black !important;
    }

    .brp-bike-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
    }

    .brp-listing-title,
    .brp-detail-name {
        color: black !important;
    }
}

/* ============================================
   WordPress Theme Overrides
   ============================================ */
.brp-bike-listing *,
.brp-bike-detail *,
.brp-search-widget * {
    box-sizing: border-box;
}

.brp-bike-listing a,
.brp-bike-detail a {
    text-decoration: none;
}

.brp-bike-listing button,
.brp-bike-detail button,
.brp-search-widget button {
    font-family: inherit;
}

/* ============================================
   Booking Modal Styles
   ============================================ */
.brp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.brp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.brp-modal {
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    max-width: 850px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: 20px;
}

.brp-modal-overlay.active .brp-modal {
    transform: translateY(0);
}

.brp-modal-header {
    background: var(--brp-bg-dark);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.brp-modal-title {
    font-family: var(--brp-font-display);
    font-size: 28px;
    color: var(--brp-text-white);
    margin: 0;
    letter-spacing: 1px;
}

.brp-modal-close {
    background: transparent;
    border: none;
    color: var(--brp-text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--brp-transition);
}

.brp-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brp-text-white);
}

.brp-modal-body {
    padding: 30px;
}

/* Booking Summary */
.brp-booking-summary {
    background: #f8f8f8;
    border-radius: var(--brp-radius);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.brp-booking-summary-image {
    width: 120px;
    height: 80px;
    background: #fff;
    border-radius: var(--brp-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.brp-booking-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brp-booking-summary-info {
    flex: 1;
}

.brp-booking-summary-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--brp-text-dark);
    margin: 0 0 8px 0;
    font-family: var(--brp-font-body);
}

.brp-booking-summary-price {
    font-size: 14px;
    color: var(--brp-text-muted);
}

.brp-booking-summary-price strong {
    color: var(--brp-primary);
    font-size: 18px;
}

/* Form Sections */
.brp-form-section {
    margin-bottom: 30px;
}

.brp-form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brp-text-dark);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-family: var(--brp-font-body);
}

.brp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.brp-form-row.single {
    grid-template-columns: 1fr;
}

@media (max-width: 576px) {
    .brp-form-row {
        grid-template-columns: 1fr;
    }
}

.brp-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brp-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--brp-text-dark);
    margin-bottom: 8px;
    font-family: var(--brp-font-body);
    white-space: nowrap;
}

.brp-form-group label .required {
    color: var(--brp-primary);
}

.brp-form-group input,
.brp-form-group select,
.brp-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--brp-radius);
    font-size: 16px;
    font-family: var(--brp-font-body);
    transition: var(--brp-transition);
    color: var(--brp-text-dark);
    background: var(--brp-bg-white);
    box-sizing: border-box;
    line-height: 1.4;
    min-height: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.brp-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 44px;
    cursor: pointer;
}

.brp-form-group input:focus,
.brp-form-group select:focus,
.brp-form-group textarea:focus {
    outline: none;
    border-color: var(--brp-primary);
    box-shadow: 0 0 0 3px rgba(194, 59, 59, 0.1);
}

.brp-form-group input.error,
.brp-form-group select.error {
    border-color: var(--brp-primary);
}

.brp-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.brp-form-group input::placeholder {
    color: #aaa;
}

/* Native date input styling */
.brp-form-group input[type="date"] {
    cursor: pointer;
    min-height: 50px;
}

.brp-form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 4px;
    margin-right: -4px;
}

.brp-form-group input[type="date"]:hover {
    border-color: var(--brp-primary);
}

/* Date/Time Row */
.brp-datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .brp-datetime-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .brp-datetime-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .brp-datetime-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .brp-datetime-row {
        grid-template-columns: 1fr;
    }
}

/* Terms Checkbox */
.brp-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.brp-terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--brp-primary);
    flex-shrink: 0;
}

.brp-terms-checkbox label {
    font-size: 13px;
    color: var(--brp-text-muted);
    line-height: 1.5;
}

.brp-terms-checkbox label a {
    color: var(--brp-primary);
    text-decoration: underline;
}

/* Modal Footer */
.brp-modal-footer {
    padding: 24px 30px;
    background: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brp-modal-total {
    font-size: 14px;
    color: var(--brp-text-muted);
}

.brp-modal-total strong {
    font-size: 24px;
    color: var(--brp-primary);
    display: block;
}

.brp-submit-booking-btn {
    background: var(--brp-primary);
    color: var(--brp-text-white);
    border: none;
    padding: 16px 40px;
    border-radius: var(--brp-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
}

.brp-submit-booking-btn:hover {
    background: var(--brp-primary-hover);
}

.brp-submit-booking-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.brp-submit-booking-btn.loading {
    position: relative;
    color: transparent;
}

.brp-submit-booking-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--brp-text-white);
    border-radius: 50%;
    animation: brp-spin 0.8s linear infinite;
}

/* Booking Success State */
.brp-booking-success {
    text-align: center;
    padding: 40px 20px;
}

.brp-booking-success-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.brp-booking-success-icon svg {
    width: 40px;
    height: 40px;
    color: #4caf50;
}

.brp-booking-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--brp-text-dark);
    margin: 0 0 12px 0;
    font-family: var(--brp-font-body);
}

.brp-booking-success p {
    color: var(--brp-text-muted);
    margin: 0 0 8px 0;
    font-size: 14px;
}

.brp-booking-ref {
    font-size: 32px;
    font-weight: 700;
    color: var(--brp-primary);
    margin: 20px 0;
    font-family: var(--brp-font-display);
    letter-spacing: 2px;
}

.brp-booking-success-btn {
    display: inline-block;
    background: var(--brp-primary);
    color: var(--brp-text-white);
    padding: 14px 36px;
    border-radius: var(--brp-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: var(--brp-transition);
}

.brp-booking-success-btn:hover {
    background: var(--brp-primary-hover);
    color: var(--brp-text-white);
    text-decoration: none;
}

/* Booking Error State */
.brp-booking-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: var(--brp-radius);
    padding: 16px;
    margin-bottom: 20px;
    color: #c62828;
    font-size: 14px;
}

@media (max-width: 576px) {
    .brp-modal-header {
        padding: 20px;
    }

    .brp-modal-title {
        font-size: 22px;
    }

    .brp-modal-body {
        padding: 20px;
    }

    .brp-modal-footer {
        flex-direction: column;
        padding: 20px;
    }

    .brp-submit-booking-btn {
        width: 100%;
    }

    .brp-booking-summary {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Progress Bar Styles (Step 4 & 5)
   ============================================ */
.brp-progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.brp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.brp-progress-step::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--brp-border-dark);
    z-index: 0;
}

.brp-progress-step:last-child::after {
    display: none;
}

.brp-progress-step.completed::after {
    background: var(--brp-primary);
}

.brp-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brp-border-dark);
    color: var(--brp-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    font-family: var(--brp-font-body);
}

.brp-progress-step.completed .brp-step-number {
    background: var(--brp-primary);
    color: var(--brp-text-white);
}

.brp-progress-step.active .brp-step-number {
    background: var(--brp-primary);
    color: var(--brp-text-white);
    box-shadow: 0 0 0 4px rgba(194, 59, 59, 0.2);
}

.brp-step-name {
    font-size: 12px;
    color: var(--brp-text-muted);
    text-align: center;
    font-family: var(--brp-font-body);
}

.brp-progress-step.completed .brp-step-name,
.brp-progress-step.active .brp-step-name {
    color: var(--brp-text-white);
}

@media (max-width: 576px) {
    .brp-step-name {
        display: none;
    }

    .brp-progress-bar {
        gap: 4px;
    }
}

/* ============================================
   Payment Page Styles (Step 4)
   ============================================ */
.brp-payment-page {
    background: var(--brp-bg-dark);
    padding: 40px 20px 80px;
    min-height: 100vh;
}

.brp-payment-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    overflow: hidden;
}

.brp-payment-error {
    text-align: center;
    padding: 60px 30px;
}

.brp-payment-error h3 {
    font-size: 24px;
    color: var(--brp-text-dark);
    margin: 0 0 12px 0;
    font-family: var(--brp-font-body);
}

.brp-payment-error p {
    color: var(--brp-text-muted);
    margin: 0 0 24px 0;
}

.brp-payment-header {
    background: var(--brp-bg-dark);
    padding: 20px 30px;
    text-align: center;
}

.brp-booking-ref-display {
    color: var(--brp-text-light);
    font-size: 14px;
    font-family: var(--brp-font-body);
}

.brp-booking-ref-display strong {
    color: var(--brp-primary);
    font-size: 18px;
    margin-left: 8px;
}

.brp-payment-secure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.brp-secure-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brp-text-dark);
    font-weight: 600;
    font-size: 14px;
    font-family: var(--brp-font-body);
}

.brp-secure-badge svg {
    color: #4caf50;
}

.brp-card-icons img {
    height: 28px;
    width: auto;
}

.brp-payment-frame-container {
    position: relative;
    min-height: 400px;
    padding: 20px;
}

.brp-payment-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.brp-payment-loading p {
    color: var(--brp-text-muted);
    margin-top: 16px;
    font-family: var(--brp-font-body);
}

.brp-payment-frame {
    width: 100%;
    min-height: 380px;
    border: none;
    background: transparent;
}

.brp-payment-note {
    padding: 12px 30px;
    background: #fff9e6;
    border-top: 1px solid #ffe082;
}

.brp-payment-note p {
    margin: 0;
    font-size: 13px;
    color: #856404;
    text-align: center;
    font-family: var(--brp-font-body);
}

.brp-payment-footer {
    padding: 20px 30px;
    background: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.brp-payment-timer {
    font-size: 14px;
    color: var(--brp-text-muted);
    font-family: var(--brp-font-body);
}

.brp-payment-timer strong {
    color: var(--brp-primary);
}

.brp-payment-security {
    font-size: 12px;
    color: var(--brp-text-muted);
}

.brp-skip-payment-link {
    color: var(--brp-text-muted);
    font-size: 14px;
    text-decoration: underline;
    font-family: var(--brp-font-body);
}

.brp-skip-payment-link:hover {
    color: var(--brp-primary);
}

/* ============================================
   Confirmation Page Styles (Step 5)
   ============================================ */
.brp-confirmation-page {
    background: var(--brp-bg-dark);
    padding: 40px 20px 80px;
    min-height: 100vh;
}

.brp-confirmation-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--brp-bg-white);
    border-radius: var(--brp-radius-lg);
    overflow: hidden;
}

.brp-confirmation-error {
    text-align: center;
    padding: 60px 30px;
}

.brp-confirmation-error h3 {
    font-size: 24px;
    color: var(--brp-text-dark);
    margin: 0 0 12px 0;
    font-family: var(--brp-font-body);
}

.brp-confirmation-error p {
    color: var(--brp-text-muted);
    margin: 0 0 24px 0;
}

.brp-confirmation-success {
    text-align: center;
    padding: 50px 30px 30px;
}

.brp-success-icon {
    width: 90px;
    height: 90px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.brp-success-icon svg {
    color: #4caf50;
}

.brp-confirmation-title {
    font-family: var(--brp-font-display);
    font-size: 32px;
    color: var(--brp-text-dark);
    margin: 0 0 24px 0;
    letter-spacing: 1px;
}

.brp-reference-box {
    background: #f8f8f8;
    border: 2px dashed #ddd;
    border-radius: var(--brp-radius);
    padding: 20px 30px;
    display: inline-block;
    margin-bottom: 24px;
}

.brp-reference-label {
    display: block;
    font-size: 13px;
    color: var(--brp-text-muted);
    margin-bottom: 8px;
    font-family: var(--brp-font-body);
}

.brp-reference-number {
    font-family: var(--brp-font-display);
    font-size: 36px;
    color: var(--brp-primary);
    letter-spacing: 2px;
}

.brp-confirmation-message {
    font-size: 15px;
    color: var(--brp-text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 16px;
    font-family: var(--brp-font-body);
}

.brp-email-notice {
    font-size: 14px;
    color: var(--brp-text-dark);
    font-family: var(--brp-font-body);
}

.brp-confirmation-details {
    padding: 30px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.brp-confirmation-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brp-text-dark);
    margin: 0 0 20px 0;
    font-family: var(--brp-font-body);
}

.brp-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .brp-details-grid {
        grid-template-columns: 1fr;
    }
}

.brp-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brp-detail-label {
    font-size: 12px;
    color: var(--brp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--brp-font-body);
}

.brp-detail-value {
    font-size: 15px;
    color: var(--brp-text-dark);
    font-weight: 500;
    font-family: var(--brp-font-body);
}

.brp-confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 30px;
    border-top: 1px solid #eee;
}

.brp-btn-primary {
    display: inline-block;
    background: var(--brp-primary);
    color: var(--brp-text-white);
    padding: 14px 32px;
    border-radius: var(--brp-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
    border: none;
    cursor: pointer;
}

.brp-btn-primary:hover {
    background: var(--brp-primary-hover);
    color: var(--brp-text-white);
    text-decoration: none;
}

.brp-btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--brp-text-dark);
    padding: 14px 32px;
    border-radius: var(--brp-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--brp-transition);
    font-family: var(--brp-font-body);
    border: 1px solid #ddd;
}

.brp-btn-secondary:hover {
    background: #f5f5f5;
    color: var(--brp-text-dark);
    text-decoration: none;
}

.brp-confirmation-print {
    text-align: center;
    padding: 0 30px 30px;
}

.brp-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--brp-text-muted);
    font-size: 14px;
    cursor: pointer;
    font-family: var(--brp-font-body);
    transition: var(--brp-transition);
}

.brp-print-btn:hover {
    color: var(--brp-primary);
}

@media (max-width: 576px) {
    .brp-confirmation-actions {
        flex-direction: column;
    }

    .brp-btn-primary,
    .brp-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .brp-reference-number {
        font-size: 28px;
    }

    .brp-confirmation-title {
        font-size: 26px;
    }
}

/* ============================================
   Extras Page Styles (Step 3)
   ============================================ */

.brp-extras-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: var(--brp-font-body);
}

.brp-extras-container {
    margin-top: 30px;
}

.brp-extras-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--brp-text-muted);
}

.brp-extras-error {
    text-align: center;
    padding: 40px;
    background: var(--brp-bg-card);
    border-radius: var(--brp-radius-lg);
    color: var(--brp-text-light);
}

/* Extras Summary Card */
.brp-extras-summary {
    margin-bottom: 30px;
}

.brp-summary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--brp-bg-card);
    border-radius: var(--brp-radius-lg);
    padding: 20px;
    border: 1px solid var(--brp-border-card);
}

.brp-summary-image {
    width: 150px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--brp-radius);
    background: var(--brp-bg-dark);
}

.brp-summary-info h3 {
    margin: 0 0 8px 0;
    color: var(--brp-text-white);
    font-size: 20px;
    font-weight: 600;
}

.brp-summary-info p {
    margin: 0;
    color: var(--brp-text-muted);
}

/* Extras Grid Layout */
.brp-extras-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .brp-extras-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section (Left) */
.brp-extras-pricing {
    background: var(--brp-bg-card);
    border-radius: var(--brp-radius-lg);
    padding: 25px;
    border: 1px solid var(--brp-border-card);
    position: sticky;
    top: 20px;
    align-self: start;
}

.brp-extras-pricing h3 {
    margin: 0 0 20px 0;
    color: var(--brp-text-white);
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--brp-border-dark);
}

.brp-extras-pricing h4 {
    margin: 20px 0 12px;
    color: var(--brp-text-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brp-rate-row,
.brp-fee-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--brp-text-light);
    font-size: 14px;
}

#brp-optional-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--brp-text-light);
    font-size: 14px;
}

.brp-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 2px solid var(--brp-primary);
    color: var(--brp-text-white);
    font-size: 18px;
}

.brp-total-box strong {
    font-size: 24px;
    color: var(--brp-primary);
}

/* Options Section (Right) */
.brp-extras-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.brp-extras-section {
    background: var(--brp-bg-card);
    border-radius: var(--brp-radius-lg);
    padding: 25px;
    border: 1px solid var(--brp-border-card);
}

.brp-extras-section h3 {
    margin: 0 0 20px 0;
    color: var(--brp-text-white);
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--brp-border-dark);
}

.brp-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brp-option-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--brp-border-dark);
}

.brp-option-item:last-child {
    border-bottom: none;
}

.brp-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--brp-text-light);
}

.brp-option-label input[type="checkbox"],
.brp-option-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brp-primary);
    cursor: pointer;
}

.brp-option-name {
    flex: 1;
    font-size: 15px;
}

.brp-option-price {
    font-weight: 600;
    color: var(--brp-primary);
    white-space: nowrap;
}

.brp-option-desc {
    margin: 8px 0 0 30px;
    font-size: 13px;
    color: var(--brp-text-muted);
}

/* Continue Button */
.brp-extras-actions {
    text-align: center;
    padding: 30px 0;
}

.brp-btn-large {
    padding: 16px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brp-btn-large svg {
    transition: transform 0.2s ease;
}

.brp-btn-large:hover svg {
    transform: translateX(4px);
}