/* --- Reservation Layout Grid --- */
.rs-reservation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: start; /* Prevents stretching if one column is longer */
}

/* --- Left Pane: Bike Preview --- */
.rs-bike-preview-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.rs-bike-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #f9f9f9; /* Soft background for transparent PNGs */
}

.rs-bike-meta {
    padding: 24px;
}

.rs-bike-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

/* Styling the default WooCommerce attribute table */
.rs-bike-short-desc ul li {
    font-size: 12pt;
    font-style: italic;
    list-style: none;
    margin-left: -10px;
}

.rs-bike-specs p {
    font-size: 10pt;
    margin: 4px 0;
}
.rs-bike-specs strong {
    color: #202020;
}
/* --- Right Pane: Form Card --- */
.rs-form-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rs-form-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* --- The 404 / Error State --- */
.rs-reservation-error-state {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 40px;
    background: #fdfdfd;
    border: 1px dashed #cccccc;
    border-radius: 8px;
}

.error-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

/* Button of the 404 error state */
.raas-btn {
    display: inline-block;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    background-color: #1a1a1a; /* Sleek near-black */
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 9pt;
    transition: background-color 0.3s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}
.raas-btn:hover {
    background-color: #333333;
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .rs-reservation-layout {
        grid-template-columns: 1fr; /* Stack columns vertically on phones */
        gap: 24px;
    }
}