/* Rent-a-car listing detail page */
.rent-show-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f0f6fc 0%, #ffffff 45%, #f8fafc 100%);
}

.rent-show-topbar {
    border-bottom: 1px solid rgba(228, 242, 255, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.rent-show-topbar__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rent-show-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2b7ac4;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.rent-show-back:hover {
    text-decoration: underline;
}

.rent-show-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 32px 16px 48px;
}

.rent-show-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.rent-show-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.rent-show-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.rent-show-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .rent-show-grid {
        grid-template-columns: 1fr 360px;
        gap: 40px;
        align-items: start;
    }
}

.rent-show-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rent-show-gallery {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e4f2ff;
    background: #fff;
    box-shadow: 0 12px 40px rgba(20, 33, 43, 0.08);
}

.rent-show-gallery__hero {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.rent-show-gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rent-show-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 33, 43, 0.72) 0%, transparent 55%);
    pointer-events: none;
}

.rent-show-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 22px;
    color: #fff;
}

.rent-show-gallery__host {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin: 0 0 6px;
}

.rent-show-gallery__title {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff !important;
}

.rent-show-gallery__price {
    margin: 10px 0 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #7cb342 !important;
}

.rent-show-gallery__price small {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
}

.rent-show-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 14px;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
}

.rent-show-thumb {
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: none;
    cursor: pointer;
}

.rent-show-thumb.is-active {
    border-color: #2b7ac4;
}

.rent-show-thumb img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    display: block;
}

.rent-show-hostbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #e4f2ff;
    background: #fff;
    box-shadow: 0 4px 18px rgba(20, 33, 43, 0.04);
}

.rent-show-hostbar__avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b7ac4, #7cb342);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rent-show-hostbar__info {
    flex: 1;
    min-width: 0;
}

.rent-show-hostbar__name {
    font-weight: 700;
    color: #14212b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rent-show-hostbar__meta {
    font-size: 0.85rem;
    color: #6b7b93;
    margin: 2px 0 0;
}

.rent-show-hostbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #e4f2ff;
    background: #f8fafc;
    color: #14212b;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.rent-show-hostbar__phone i {
    color: #2b7ac4;
}

.rent-show-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rent-show-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4f2ff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #14212b;
}

.rent-show-badge i {
    color: #2b7ac4;
}

.rent-show-badge--rating i {
    color: #f59e0b;
}

.rent-show-panel {
    border-radius: 16px;
    border: 1px solid #e4f2ff;
    background: #fff;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(20, 33, 43, 0.04);
}

.rent-show-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #14212b;
    margin: 0 0 14px;
}

.rent-show-panel__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 122, 196, 0.1);
    color: #2b7ac4;
}

.rent-show-panel__text {
    color: #6b7b93;
    line-height: 1.65;
    white-space: pre-line;
    margin: 0;
}

.rent-show-listing-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    background: #fafbfc;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 640px) {
    .rent-show-listing-card {
        flex-direction: row;
    }
}

.rent-show-listing-card.is-highlight {
    border-color: #2b7ac4;
    background: #f0f7ff;
    box-shadow: 0 0 0 1px rgba(43, 122, 196, 0.15);
}

.rent-show-listing-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .rent-show-listing-card__img {
        width: 168px;
        aspect-ratio: auto;
        height: 120px;
    }
}

.rent-show-listing-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rent-show-listing-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.12), rgba(124, 179, 66, 0.12));
    color: #9ca3af;
    font-size: 2rem;
}

.rent-show-listing-card__body {
    flex: 1;
    min-width: 0;
}

.rent-show-listing-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14212b;
    margin: 0 0 6px;
}

.rent-show-listing-card__desc {
    font-size: 0.875rem;
    color: #6b7b93;
    margin: 0;
    line-height: 1.5;
}

.rent-show-listing-card__price {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2b7ac4;
}

.rent-show-listing-card__price small {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7b93;
}

.rent-show-review {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    margin-bottom: 12px;
}

.rent-show-review:last-child {
    margin-bottom: 0;
}

.rent-show-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rent-show-review__name {
    font-weight: 700;
    color: #14212b;
}

.rent-show-review__stars {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.875rem;
}

.rent-show-review__text {
    margin: 8px 0 0;
    font-size: 0.875rem;
    color: #6b7b93;
    line-height: 1.5;
}

.rent-show-review__time {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.rent-show-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media (min-width: 1024px) {
    .rent-show-sidebar {
        position: sticky;
        top: 96px;
    }
}

.rent-show-book {
    border-radius: 18px;
    border: 1px solid #dce8f5;
    background: #fff;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(20, 33, 43, 0.1);
}

.rent-show-book__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #14212b;
    margin: 0 0 4px;
}

.rent-show-book__title i {
    color: #2b7ac4;
}

.rent-show-book__subtitle {
    font-size: 0.875rem;
    color: #6b7b93;
    margin: 0 0 20px;
    line-height: 1.45;
}

.rent-show-book__vehicle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.08), rgba(124, 179, 66, 0.08));
    border: 1px solid #e4f2ff;
}

.rent-show-book__vehicle i {
    color: #2b7ac4;
    font-size: 1.1rem;
}

.rent-show-book__vehicle span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #14212b;
}

.rent-show-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rent-show-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7b93;
    margin-bottom: 6px;
}

.rent-show-field label .optional {
    text-transform: none;
    font-weight: 500;
    color: #9ca3af;
}

.rent-show-input,
.rent-show-textarea {
    width: 100%;
    border: 1px solid #dce8f5;
    border-radius: 12px;
    background: #fafbfc;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: #14212b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rent-show-input:focus,
.rent-show-textarea:focus {
    outline: none;
    border-color: #2b7ac4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 122, 196, 0.12);
}

.rent-show-textarea {
    min-height: 96px;
    resize: vertical;
}

.rent-show-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #2b7ac4, #7cb342);
    box-shadow: 0 8px 24px rgba(43, 122, 196, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.rent-show-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(43, 122, 196, 0.32);
}

.rent-show-login-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #2b7ac4, #7cb342);
}

.rent-show-rating-box {
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    font-size: 0.875rem;
    color: #6b7b93;
}

.rent-show-rating-box strong {
    color: #f59e0b;
}

.rent-show-review-form {
    border-radius: 16px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    padding: 20px;
}

.rent-show-footer-link {
    margin-top: 36px;
    text-align: center;
}

.rent-show-footer-link a {
    color: #2b7ac4;
    font-weight: 600;
    text-decoration: none;
}

.rent-show-footer-link a:hover {
    text-decoration: underline;
}

.rent-show-fallback-hero {
    border-radius: 18px;
    border: 1px solid #e4f2ff;
    background: linear-gradient(135deg, rgba(43, 122, 196, 0.1), rgba(124, 179, 66, 0.08));
    padding: 28px 24px;
    box-shadow: 0 8px 28px rgba(20, 33, 43, 0.06);
}

.rent-show-fallback-hero h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #14212b !important;
    margin: 0 0 8px;
}

.rent-show-fallback-hero p {
    color: #6b7b93;
    margin: 6px 0 0;
}

.rent-show-fallback-hero p i {
    color: #2b7ac4;
    margin-right: 6px;
}

.rent-show-listings {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 640px) {
    .rent-show-wrap {
        padding-top: 20px;
    }

    .rent-show-book {
        padding: 18px;
    }
}
