/**
* 2008-2025 Prestaworld
*
* NOTICE OF LICENSE
*
* The source code of this module is under a commercial license.
* Each license is unique and can be installed and used on only one website.
* Any reproduction or representation total or partial of the module, one or more of its components,
* by any means whatsoever, without express permission from us is prohibited.
*
* DISCLAIMER
*
* Do not alter or add/update to this file if you wish to upgrade this module to newer
* versions in the future.
*
* @author    prestaworld
* @copyright 2008-2025 Prestaworld
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
* International Registered Trademark & Property of prestaworld
*/

.presta_rental_price_title {
    font-size: 17px;
    font-weight: 500;
    font-family: system-ui;
}
.presta_rent_cart_table {
    padding: 25px 25px 14px 25px;
}
#rental_table {
    text-align: end;
    padding: 25px 25px 14px 25px;
}
#cart_rental_type {
    align-content: center;
    padding: 3px 25px 0px 25px;
    font-size: 15px;
    text-transform: capitalize;
}
.presta_cart_amt {
    align-content: center;
    padding: 3px 15px 0px 25px;
    text-align: end;
}
.presta_cart_rent_type {
    align-content: center;
    padding: 3px 15px 0px 25px;
    font-size: 15px;
    text-transform: capitalize;
}
.presta_rent_amount {
    align-content: center;
    padding: 3px 15px 0px 25px;
    text-align: end;
}

/* -- Rental Prdoct Page -- */
.presta_calendar_icons{
    padding: 10px 30px 10px 10px;
}
.addon-checkbox, .addon-title, .addon-price, .addon-tooltip{
    text-align: center;
}
.addon-image{
    text-align: center;
    width: 80px;
    height: 50px;
}
.addon-image img{
    max-width: 100%;
    max-height: 100%;
}

#addon-error-msg, #cart-date-error, #check-term-cond-error{
    display: none;
    margin: 10px 0px;
}
#presta_addons_list{
    margin: 10px 0px 30px 10px;
    background-color: rgb(236, 236, 236);
    border: 1px solid rgb(185, 185, 185);
}
.presta_rental_addon{
    margin-top: 20px;
    padding: 8px;
    font-size: 15px;
    border-radius: 2px;
}

/* -- ToolTip -- */
.tooltip-icon-wrapper {
  position: relative;
  display: inline-block;
}

.material-icons {
  font-size: 20px;
  color: #4a4a4b;
  cursor: pointer;
}

.custom-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background-color: #333;
  color: #fff;
  z-index: 999;
  transition: opacity 0.3s ease-in-out;
  font-size: 13px;
  text-align: left;
  pointer-events: auto;
}

.custom-tooltip-inner {
  max-height: 80px;
  overflow-y: auto;
  padding: 10px 12px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  border-radius: 6px;
}

.custom-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
}

.tooltip-icon-wrapper:hover .custom-tooltip,
.tooltip-icon-wrapper .custom-tooltip:hover {
  visibility: visible;
  opacity: 1;
}

#max_rent_dur{
    font-size: 15px;
    border-radius: 2px;
}

#document_upload {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
}

#document_upload:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.presta_rental_file_name{
    font-size: 14px;
    color: #555;
}

#file_upload_error {
    font-size: 13px;
    color: red;
    margin-top: 5px;
    display:none;
}

.custom-file-upload{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.presta_doc_label{
    font-weight: 600;
    font-size: 15px;
}
#preview_img{
    max-width: 200px;
    display: none;
    border: 1px solid #ccc;
    border-radius: 6px;
}
#image_preview{
    margin-top: 10px;
}

#presta_rental_policy{
    font-size: 15px;
    padding: 10px 0px;
}
