/*
===========================================================
HOTEL CORBEL SUPERIOR · ROOMCLOUD BOOKING ENGINE
Custom stylesheet / Brand override
Paleta:
Terracota       #A56B4E
Terracota oscuro#8A5238
Carbón          #24211D
Marfil          #F2ECE1
Arena           #D6C9B4
Taupe           #746B5E
===========================================================
*/

/* --------------------------------------------------------
   1. VARIABLES GENERALES
   RoomCloud utiliza muchas variables cyan/gray en todo BE.
   Las remapeamos a la identidad Corbel.
   -------------------------------------------------------- */
:root {
  --dark-blu-color:#75432E !important;
  --blu-color:#8A5238 !important;
  --light-blu-color:#A56B4E !important;

  --black-color:#24211D !important;
  --white-color:#FFFFFF !important;
  --grey-color:#F8F4ED !important;
  --light-grey-color:#F2ECE1 !important;
  --dark-grey-color:#D6C9B4 !important;

  --rc-color:#8A5238 !important;
  --shadow-color:#D6C9B4 !important;
  --background-color:rgba(255,253,250,.96) !important;
  --legend-bg-color:#F2ECE1 !important;

  /* Gama cálida que reemplaza los azules/cyan del motor */
  --cyan-100:#F8F4ED !important;
  --cyan-200:#EADFD2 !important;
  --cyan-300:#D6C9B4 !important;
  --cyan-400:#C89C84 !important;
  --cyan-500:#B77E61 !important;
  --cyan-600:#A56B4E !important;
  --cyan-700:#8A5238 !important;
  --cyan-800:#75432E !important;
  --cyan-900:#5E3425 !important;

  /* Algunos módulos usan directamente la gama blue */
  --blue-100:#F8F4ED !important;
  --blue-200:#EADFD2 !important;
  --blue-300:#D6C9B4 !important;
  --blue-400:#C89C84 !important;
  --blue-500:#B77E61 !important;
  --blue-600:#A56B4E !important;
  --blue-700:#8A5238 !important;
  --blue-800:#75432E !important;
  --blue-900:#5E3425 !important;

  /* Neutros cálidos */
  --gray-100:#F8F4ED !important;
  --gray-200:#EEE6DC !important;
  --gray-300:#D6C9B4 !important;
  --gray-400:#C2B6A5 !important;
  --gray-500:#9C9284 !important;
  --gray-600:#746B5E !important;
  --gray-700:#5B544A !important;
  --gray-800:#3A352F !important;
  --gray-900:#24211D !important;

  /* Calendario */
  --litepicker-month-header-color:#24211D !important;
  --litepicker-button-prev-month-color:#746B5E !important;
  --litepicker-button-next-month-color:#746B5E !important;
  --litepicker-button-prev-month-color-hover:#8A5238 !important;
  --litepicker-button-next-month-color-hover:#8A5238 !important;
  --litepicker-month-weekday-color:#746B5E !important;
  --litepicker-day-color:#24211D !important;
  --litepicker-day-color-hover:#8A5238 !important;
  --litepicker-is-today-color:#A56B4E !important;
  --litepicker-is-in-range-color:#EADFD2 !important;
  --litepicker-is-start-color:#FFFFFF !important;
  --litepicker-is-start-color-bg:#8A5238 !important;
  --litepicker-is-end-color:#FFFFFF !important;
  --litepicker-is-end-color-bg:#8A5238 !important;
  --litepicker-button-apply-color:#FFFFFF !important;
  --litepicker-button-apply-color-bg:#8A5238 !important;
  --litepicker-button-reset-color:#746B5E !important;
  --litepicker-button-reset-color-hover:#8A5238 !important;
}


/* --------------------------------------------------------
   2. BASE
   -------------------------------------------------------- */
body {
  color:#24211D !important;
  font-family:"Montserrat","Helvetica Neue",Arial,sans-serif !important;
}

/* Hace que la fotografía de fondo compita menos con el contenido */
body {
  background-color:rgba(242,236,225,.30) !important;
  background-blend-mode:soft-light;
}


/* --------------------------------------------------------
   3. CAJAS / PANELES
   -------------------------------------------------------- */
.white-transparent {
  background-color:rgba(255,253,250,.96) !important;
  box-shadow:0 6px 24px rgba(36,33,29,.12) !important;
}

#search_room_box,
#cart-items,
#search-items,
#daysselected,
#payment_div,
.main-pg-div {
  background-color:#FFFDF9 !important;
}

.search-result-item {
  background:rgba(255,253,250,.96) !important;
  border:1px solid rgba(214,201,180,.78) !important;
  border-radius:5px !important;
  box-shadow:0 4px 16px rgba(36,33,29,.07) !important;
}

.product-col {
  background-color:#FFFDF9 !important;
  border-top-color:#EEE6DC !important;
}

.product-col:hover {
  background-color:#F8F4ED !important;
  border-left-color:#A56B4E !important;
  border-top-color:#D6C9B4 !important;
  border-bottom-color:#D6C9B4 !important;
}

.rate-col-desc,
.selected-item,
.rm-cnt,
.pg_sel {
  background-color:#F8F4ED !important;
}


/* --------------------------------------------------------
   4. LOGO / INFORMACIÓN DEL HOTEL
   -------------------------------------------------------- */
#hotel_logo_div {
  background:transparent !important;
}

#box_logo_img {
  max-width:100% !important;
  max-height:150px !important;
  object-fit:contain !important;
}

div.property-title {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
  color:#FFFFFF !important;
}

span.property-title {
  color:#FFFFFF !important;
  letter-spacing:.01em;
}

.property-address,
table.property-address td {
  color:#3A352F !important;
}


/* --------------------------------------------------------
   5. BOTONES PRINCIPALES
   -------------------------------------------------------- */
.be-btn {
  border-radius:4px !important;
  box-shadow:none !important;
  font-weight:600 !important;
  letter-spacing:.025em;
}

.btn-one,
.btn-two,
#btn-search,
.min-price-book-btn {
  background-color:#A56B4E !important;
  border-color:#A56B4E !important;
  color:#FFFFFF !important;
}

.btn-one:hover,
.btn-one:focus,
.btn-two:hover,
.btn-two:focus,
#btn-search:hover,
#btn-search:focus,
.min-price-book-btn:hover,
.min-price-book-btn:focus {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
  color:#FFFFFF !important;
}

/* Botones secundarios / confirmaciones donde RoomCloud usa negro o verde */
input[type="submit"].be-btn,
button.be-btn {
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease !important;
}


/* --------------------------------------------------------
   6. HABITACIONES / TARIFAS / TÍTULOS
   -------------------------------------------------------- */
.room-title,
.rate-title,
.all_rate_title,
.prepaid-titles,
.div-supp-item-title,
.cart-supp-room-desc,
.search-titles,
.resume-dates-titles,
.total-titles,
.price-font,
.basket-price-font,
.span_total_prepaid,
.currency-font,
.treatment_desc,
.room-number,
.label-room-quantity,
.label-room-quantity-desc,
.occupancy-center,
.basket_arrow,
.confirm_msg,
.modal-close-span {
  color:#8A5238 !important;
}

.facilities_div {
  color:#5B544A !important;
  border-top-color:#EEE6DC !important;
}

.room-hr,
.pg-hr {
  border-color:#EEE6DC !important;
}

.title > hr,
.local_taxes_hr,
.div-room-num {
  border-color:#A56B4E !important;
}


/* --------------------------------------------------------
   7. ICONOS Y CONTROLES + / -
   -------------------------------------------------------- */
.treatment-icon,
.blu-icon,
.occupancy-icon,
.calendar {
  color:#8A5238 !important;
}

.box-btn {
  border-color:#D6C9B4 !important;
  background-color:#FFFFFF !important;
  color:#24211D !important;
  border-radius:3px !important;
}

.box-btn:hover,
.box-btn:focus {
  border-color:#A56B4E !important;
  color:#8A5238 !important;
  background:#F8F4ED !important;
}


/* --------------------------------------------------------
   8. MONEDA / IDIOMA
   -------------------------------------------------------- */
#lang_bar,
#cur_bar {
  background-color:#F2ECE1 !important;
}

#lang_bar button,
#cur_bar button {
  color:#24211D !important;
}

.active_lang,
.active_curr {
  background-color:#8A5238 !important;
  color:#FFFFFF !important;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color:#8A5238 !important;
  background-color:#F8F4ED !important;
}


/* --------------------------------------------------------
   9. CALENDARIO
   -------------------------------------------------------- */
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color:#8A5238 !important;
  color:#FFFFFF !important;
}

.daterangepicker td.in-range {
  background-color:#EADFD2 !important;
  color:#24211D !important;
}


/* --------------------------------------------------------
   10. OFERTAS / PRECIO MÍNIMO
   Mantener rojo/verde sólo cuando comunica un estado.
   -------------------------------------------------------- */
.offertitle {
  background-color:#F2ECE1 !important;
  border-color:#D6C9B4 !important;
}

.offer-box:hover {
  border-left-color:#A56B4E !important;
}

.min-price-header {
  background-color:#8A5238 !important;
  color:#FFFFFF !important;
}


/* --------------------------------------------------------
   11. CARRITO / RESUMEN
   -------------------------------------------------------- */
.resume_span_container {
  background:#FFFDF9 !important;
  color:#8A5238 !important;
}

.basket_total_span {
  color:#75432E !important;
}


/* --------------------------------------------------------
   12. SCROLL
   -------------------------------------------------------- */
::-webkit-scrollbar-track {
  background:#F8F4ED !important;
}

::-webkit-scrollbar-thumb {
  background:#D6C9B4 !important;
  border-radius:10px;
}

::-webkit-scrollbar-thumb:hover {
  background:#A56B4E !important;
}


/* --------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------- */
@media only screen and (max-width:991px) {
  .search-result-item {
    border-radius:4px !important;
  }

  .white-transparent {
    box-shadow:none !important;
  }

  #box_logo_img {
    max-height:125px !important;
  }
}


/* --------------------------------------------------------
   14. POWERED BY ROOMCLOUD
   Mantiene el branding de RoomCloud pero evita el cyan ajeno a Corbel.
   -------------------------------------------------------- */
#rc_powered_inner {
  background-color:#8A5238 !important;
}

#rc_powered_inner:hover {
  background-color:#75432E !important;
}



/* ========================================================
   15. CHECKOUT / FLUJO DE RESERVA COMPLETO
   Ajustes detectados tras recorrer:
   búsqueda → selección → huésped → pago → confirmación
   ======================================================== */

/* Carrito flotante inferior: RoomCloud lo pinta verde por defecto */
#floating_basket_footer_icon_div,
#floating_basket_footer_content {
  background-color:#8A5238 !important;
  border-color:#D6C9B4 !important;
}

#floating_basket_footer_icon_div:hover,
#floating_basket_footer_content:hover {
  background-color:#75432E !important;
}

#floating_basket_footer_icon,
#floating_basket_footer_total > span {
  color:#FFFFFF !important;
}


/* Radio / método de pago seleccionado: eliminar azul Bootstrap */
.main-pg-div [class*="icheck-"] > input:first-child:checked + label::before,
[class*="icheck-"] > input[type="radio"]:first-child:checked + label::before {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
}

[class*="icheck-"] > input[type="radio"]:first-child:checked + label::after {
  background-color:#FFFFFF !important;
}


/* Botones de acción dentro de búsqueda lateral */
#search_room_box button:not(.box-btn),
#search_room_box input[type="button"],
#search_room_box input[type="submit"],
#search-items button:not(.box-btn),
#search-items input[type="button"],
#search-items input[type="submit"] {
  background-color:#A56B4E !important;
  border-color:#A56B4E !important;
  color:#FFFFFF !important;
}

#search_room_box button:not(.box-btn):hover,
#search_room_box input[type="button"]:hover,
#search_room_box input[type="submit"]:hover,
#search-items button:not(.box-btn):hover,
#search-items input[type="button"]:hover,
#search-items input[type="submit"]:hover {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
}


/* Botones del checkout / confirmación */
#payment_div button,
#payment_div input[type="button"],
#payment_div input[type="submit"],
#privacy-tab button,
#privacy-tab input[type="button"],
#privacy-tab input[type="submit"],
#privacy-info-div button,
#privacy-info-div input[type="button"],
#privacy-info-div input[type="submit"],
#confirm-payment-resume button,
#confirm-payment-resume input[type="button"],
#confirm-payment-resume input[type="submit"],
#res-tab button,
#res-tab input[type="button"],
#res-tab input[type="submit"] {
  background-color:#A56B4E !important;
  border-color:#A56B4E !important;
  color:#FFFFFF !important;
}

#payment_div button:hover,
#privacy-tab button:hover,
#privacy-info-div button:hover,
#confirm-payment-resume button:hover,
#res-tab button:hover,
#payment_div input[type="button"]:hover,
#payment_div input[type="submit"]:hover,
#privacy-tab input[type="button"]:hover,
#privacy-tab input[type="submit"]:hover,
#privacy-info-div input[type="button"]:hover,
#privacy-info-div input[type="submit"]:hover,
#confirm-payment-resume input[type="button"]:hover,
#confirm-payment-resume input[type="submit"]:hover,
#res-tab input[type="button"]:hover,
#res-tab input[type="submit"]:hover {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
}


/* Enlaces de navegación/privacidad del checkout */
#home-page-tab a,
#open_privacy_modal,
#privacy-tab a,
#res-tab a {
  color:#8A5238 !important;
}

#home-page-tab a:hover,
#open_privacy_modal:hover,
#privacy-tab a:hover,
#res-tab a:hover {
  color:#75432E !important;
}


/* Paneles del checkout: bordes y encabezados más cálidos */
#payment_div,
#privacy-info-div,
#confirm-payment-resume,
#guest-info-div,
#res-tab,
#msg-tab {
  border-color:#D6C9B4 !important;
}

.title-step > hr {
  border-top-color:#A56B4E !important;
}


/* Campos de huésped: foco Corbel */
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus,
.form-control:focus {
  border-color:#A56B4E !important;
  box-shadow:0 0 0 1px rgba(165,107,78,.16) !important;
}


/* Mantener semántica:
   - verde para éxito/descuento/cancelación flexible
   - rojo para error/no reembolsable/alertas
   No se reemplazan globalmente.
*/


/* ========================================================
   16. PEQUEÑOS DETALLES DE CONSISTENCIA
   ======================================================== */

/* Botón "ACTIVA" / ofertas principales */
.activateOffer,
.activateOffer.be-btn {
  background-color:#A56B4E !important;
  border-color:#A56B4E !important;
  color:#FFFFFF !important;
}

.activateOffer:hover,
.activateOffer.be-btn:hover {
  background-color:#8A5238 !important;
  border-color:#8A5238 !important;
}

/* Selección de tarifa */
.rate-item button,
.rate-item .be-btn {
  border-color:#A56B4E !important;
}

/* Evita que el contenido final vuelva al negro puro */
#confirm-payment-resume,
#payment_div,
#privacy-info-div,
#guest-info-div {
  color:#24211D !important;
}
