/* ===================================================================
   Moveo Rent a Car - Rental Car Details & Booking Form Styling
   =================================================================== */

.rental-summary-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 25px 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #ebebeb;
}

.rental-header-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.rental-category-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.rental-car-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.2;
}

.rental-price-display {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.rental-price-display .price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.rental-price-display .price-period {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.rental-price-disclaimer {
    background: #f8fafc;
    border-left: 3px solid #25d366;
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 15px;
}

.rental-price-disclaimer i {
    color: #25d366;
    margin-right: 5px;
}

/* Booking Form Elements */
.rental-form-group {
    margin-bottom: 16px;
}

.rental-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.rental-form-group label i {
    color: #db2d2e;
    margin-right: 6px;
    width: 14px;
}

.rental-select,
.rental-input {
    width: 100%;
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.rental-select:focus,
.rental-input:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.rental-datetime-row {
    display: flex;
    gap: 10px;
}

.rental-datetime-row .date-col {
    flex: 6;
}

.rental-datetime-row .time-col {
    flex: 4;
}

/* Extras / Insurance Options */
.rental-extras-section {
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 14px 6px;
    margin-top: 18px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.rental-extras-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.extra-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    cursor: pointer;
}

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

.extra-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
}

.extra-option-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #25d366;
    cursor: pointer;
}

.extra-option-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.extra-option-price span {
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
}

/* Real-time Calculation Summary */
.rental-calc-summary {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rental-calc-days {
    font-size: 13px;
    color: #065f46;
    font-weight: 600;
}

.rental-calc-total {
    font-size: 16px;
    font-weight: 800;
    color: #047857;
}

/* Quote Confirm Button */
.btn-rental-quote {
    display: block;
    width: 100%;
    background: #55c746;
    color: #ffffff;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(85, 199, 70, 0.35);
    transition: all 0.25s ease;
}

.btn-rental-quote:hover {
    background: #46b039;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(85, 199, 70, 0.45);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-rental-quote i {
    margin-right: 8px;
    font-size: 18px;
}

/* Attributes Grid - Matching Screenshot */
.rental-attributes-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.rental-attr-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rental-attr-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.rental-attr-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.rental-attr-icon {
    width: 44px;
    height: 44px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rental-attr-icon.gear {
    background: #fef3c7;
    color: #d97706;
}

.rental-attr-icon.camera {
    background: #fce7f3;
    color: #db2777;
}

.rental-attr-icon.user {
    background: #dcfce7;
    color: #16a34a;
}

.rental-attr-icon.door {
    background: #ede9fe;
    color: #7c3aed;
}

.rental-attr-icon.fuel {
    background: #ffedd5;
    color: #ea580c;
}

.rental-attr-info h6 {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 3px 0;
    font-weight: 500;
}

.rental-attr-info p {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Related Cars Grid - Matching Screenshot */
.related-cars-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.related-cars-title {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.related-cars-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #db2d2e;
    border-radius: 2px;
}

.related-car-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}

.related-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.related-car-card .img-box {
    position: relative;
    background: #f8fafc;
    padding: 20px;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-car-card .img-box img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-car-card:hover .img-box img {
    transform: scale(1.05);
}

.related-car-card .content-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.related-car-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.related-car-card .card-price {
    font-size: 20px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 4px;
}

.related-car-card .card-disclaimer {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    min-height: 34px;
}

.btn-ver-mas {
    display: inline-block;
    background: #db2d2e;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
    letter-spacing: 0.5px;
    border: none;
}

.btn-ver-mas:hover {
    background: #b82425;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(219, 45, 46, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Modal Solicitud de Presupuesto */
.rental-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rental-modal-overlay.active {
    display: flex;
}

.rental-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.rental-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rental-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.rental-modal-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.rental-modal-card p.subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.modal-resumen-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 18px;
}

.modal-resumen-box div {
    margin-bottom: 4px;
}

.modal-resumen-box div:last-child {
    margin-bottom: 0;
    font-weight: 700;
    color: #047857;
}

@media (max-width: 768px) {
    .rental-car-title {
        font-size: 24px;
    }
    .rental-attr-list {
        grid-template-columns: 1fr;
    }
}
