/*
Theme Name: hello-elementor-child
Theme URI: https://weareontime.com/hello-elementor-child
Description: A child theme for hello-elementor
Author: Pablo Terán
Author URI: https://weareontime.com/
Template: hello-elementor
Version: 1.0.0
*/
 
 
#map {
  height: 100%;
}

/* 
 * Optional: Makes the sample page fill the window. 
 */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

p {
  font-family: Roboto, sans-serif;
  font-weight: bold;
}

.mwai-form-container {
    background-color: #93cf09;
    border-radius: 5px;
    padding: 15px;
}
.mwai-copy-button {
	opacity: 1;
  width: 22px;
  height: 22px;
}


.mwai-copy-button > .mwai-copy-button-one {
	position: absolute;
	background-color: #bbdfd5;
	border-radius: 5px;
}

.mwai-copy-button > .mwai-copy-button-two {
	position: absolute;
	background-color: #91aba4;
	border-radius: 5px;

	margin-top: 6px;
  margin-left: 6px;
}
.mwai-form-field-container {
    background-color: white;
    border-radius: 5px;
    padding: 10px 3px;
    box-shadow: inset 0 0 10px #00000030;
}
/* Change the background color of the entire chatbot container */
.mwai-chatbot-container {
    background-color: #93cf09 !important;
}

/* Change the background color of the AI's responses */
.mwai-chatbot-container .mwai-chatbot-response {
    background-color: #ffffff !important;  /* Change this color */
    color: #000000 !important; /* Adjust text color if needed */
}

/* Change the background color of the user's messages */
.mwai-chatbot-container .mwai-chatbot-message {
    background-color: #f0f0f0 !important;  /* Change this color */
    color: #000000 !important; /* Adjust text color if needed */
}

/* Change the background of the chatbot input area */
.mwai-chatbot-container .mwai-chatbot-input {
    background-color: #dff0d8 !important; /* Change input background */
    border: 1px solid #ccc !important; /* Optional: Add border */
}

/* Change the background of the chatbot header (if applicable) */
.mwai-chatbot-container .mwai-chatbot-header {
    background-color: #4a90e2 !important; /* Change header color */
    color: white !important;
}



/* ==================== ESTILOS PARA PÁGINA ORDER-PAY ==================== */

/* Fondo general y espaciado */
.woocommerce-order-pay .woocommerce {
    background-color: #080B2654;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #C1A65D;
    margin-top: 30px;
    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: auto;
    margin-bottom: 80px !important;
}

/* Título principal */
.woocommerce-order-pay h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 25px;
    text-align: center;
}

/* Botones */
.woocommerce-order-pay .button {
    background-color: #C1A65D  !important;
    color: white !important;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.woocommerce-order-pay .button:hover {
    background-color: #005177 !important;
}

/* Inputs */
.woocommerce-order-pay input[type="text"],
.woocommerce-order-pay input[type="email"],
.woocommerce-order-pay input[type="tel"],
.woocommerce-order-pay input[type="number"] {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
}

/* Ocultar campos innecesarios o ajustar mensajes */
.woocommerce-order-pay .woocommerce-info {
    background-color: #f0f8ff;
    border-left: 4px solid #0073aa;
    padding: 10px 20px;
    margin-bottom: 25px;
}

/******************** css para my order (xavi) */

.hello-elementor-child-yith-reservations-table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 100%;
}

.hello-elementor-child-yith-reservations-table {
    table-layout: auto;
    border-collapse: collapse;
    margin: 0;
    width: auto;
    color: #ffffff; /* Texto blanco general */
}

/* Column-specific width constraints */
.hello-elementor-child-yith-reservations-table th:nth-child(1),
.hello-elementor-child-yith-reservations-table td:nth-child(1) {
    max-width: 80px;
    width: auto;
}

.hello-elementor-child-yith-reservations-table th:nth-child(2),
.hello-elementor-child-yith-reservations-table td:nth-child(2) {
    max-width: 160px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(3),
.hello-elementor-child-yith-reservations-table td:nth-child(3) {
    max-width: 160px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(4),
.hello-elementor-child-yith-reservations-table td:nth-child(4) {
    max-width: 120px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(5),
.hello-elementor-child-yith-reservations-table td:nth-child(5) {
    max-width: 180px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(6),
.hello-elementor-child-yith-reservations-table td:nth-child(6) {
    max-width: 120px;
    width: auto;
}

.hello-elementor-child-yith-reservations-table th:nth-child(7),
.hello-elementor-child-yith-reservations-table td:nth-child(7) {
    max-width: 140px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(8),
.hello-elementor-child-yith-reservations-table td:nth-child(8) {
    max-width: 160px;
    width: auto;
    white-space: normal;
}

.hello-elementor-child-yith-reservations-table th:nth-child(9),
.hello-elementor-child-yith-reservations-table td:nth-child(9),
.hello-elementor-child-yith-reservations-table th:nth-child(10),
.hello-elementor-child-yith-reservations-table td:nth-child(10) {
    max-width: 120px;
    width: auto;
    white-space: normal;
}

/* Base cell styling */
.hello-elementor-child-yith-reservations-table th,
.hello-elementor-child-yith-reservations-table td {
    padding: 6px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

/* Filter input constraints */
.filter-row input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid #C1A65D;
    color: #C1A65D;
    padding: 4px 6px;
}

.filter-row input::placeholder {
    color: #999;
}

/* Date filter container */
.hello-elementor-child-yith-reservations-table th:nth-child(8) {
    min-width: 140px;
}

/* Header styling */
.hello-elementor-child-yith-reservations-table th {
    background-color: #0B0D2A;
    color: #C1A65D;
    font-weight: bold;
}

/* Button styling */
.button.view,
.button.pay {
    white-space: nowrap;
    padding: 5px 8px;
    font-size: 0.85em;
    display: inline-block;
    background-color: transparent;
    border: 1px solid #C1A65D;
    color: #C1A65D;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

.button.view:hover,
.button.pay:hover {
    background-color: #C1A65D;
    color: #0B0D2A;
}

/* ======= COLORES DE DISEÑO SEGÚN INDICACIONES ======= */

/* Fondo de la sección */
.hello-elementor-child-yith-reservations-table-container {
    background-color: #080B2654 !important;
}

/* Estilo unificado para todos los botones */
.hello-elementor-child-yith-reservations-table .button.view,
.hello-elementor-child-yith-reservations-table .button.pay,
#download-excel,
#download-pdf,
.hello-elementor-child-yith-reservations-table .button {
    background-color: #C1A65D !important;
    color: #0B0D2A !important;
    border: none !important;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Efecto hover (ligero oscurecimiento) */
.hello-elementor-child-yith-reservations-table .button.view:hover,
.hello-elementor-child-yith-reservations-table .button.pay:hover,
#download-excel:hover,
#download-pdf:hover {
    background-color: #b8964e !important;
    color: #ffffff !important;
}

/* ======= DISEÑO ELEGANTE PARA TABLA DE RESERVAS ======= */

/* Fondo de la sección de reservas */
.hello-elementor-child-yith-reservations-table-container {
    background-color: #080B2654 !important;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Estilo unificado para todos los botones */
.hello-elementor-child-yith-reservations-table .button,
.hello-elementor-child-yith-reservations-table .button.view,
.hello-elementor-child-yith-reservations-table .button.pay,
#download-excel,
#download-pdf {
    background-color: #C1A65D !important;
    color: #0B0D2A !important;
    border: none !important;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(193, 166, 93, 0.2);
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

/* Hover elegante */
.hello-elementor-child-yith-reservations-table .button:hover,
.hello-elementor-child-yith-reservations-table .button.view:hover,
.hello-elementor-child-yith-reservations-table .button.pay:hover,
#download-excel:hover,
#download-pdf:hover {
    background-color: #b8964e !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(193, 166, 93, 0.4);
    transform: translateY(-2px);
}

/* Ajuste especial para los botones Download */
#download-excel,
#download-pdf {
    margin-right: 6px;
}

/* ======= COLOR BLANCO PARA ICONO DE INPUT DATE ======= */

/* Chrome, Edge, Safari */
.filter-row input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
}

/* ======= SEPARACIÓN ENTRE BOTONES DE DESCARGA ======= */

#download-excel,
#download-pdf {
    margin-bottom: 6px;
    display: inline-block;
}

#download-excel {
    margin-right: 10px; /* separa horizontalmente si están en línea */
}

#download-pdf {
    margin-top: 6px; /* separa verticalmente si están en columna */
}

/* ======= ANIMACIÓN SUAVE DE ENTRADA PARA LA TABLA ======= */

/* Clase principal que animamos */
.hello-elementor-child-yith-reservations-table-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

/* Definición de la animación */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/******************************************+**********************************************/

/* ========= ESTILO UNIFICADO PARA /mi-cuenta/orders/ ========= */

/* Contenedor principal de la tabla de pedidos */
.woocommerce-MyAccount-orders {
    background-color: #080B2654;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Cabecera de tabla */
.woocommerce-orders-table thead th {
    background-color: transparent;
    color: #C1A65D;
    font-weight: 600;
    border-bottom: 1px solid #C1A65D;
}

/* Celdas de contenido */
.woocommerce-orders-table td {
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 8px;
}

/* Contenedor que envuelve los botones en la tabla de pedidos */
.woocommerce-orders-table td.order-actions {
    display: flex;
    gap: 10px; /* aquí separamos los botones */
    justify-content: flex-start;
    align-items: center;
}


/* Estilo de botones (Pagar, Ver, Cancelar) */
.woocommerce-orders-table .button {
    background-color: #C1A65D !important;
  
    color: #0B0D2A !important;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    margin-right: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(193, 166, 93, 0.2);
}









/* Hover efecto suave */
.woocommerce-orders-table .button:hover {
    background-color: #b8964e !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Responsive alineación y consistencia */
@media screen and (max-width: 768px) {
    .woocommerce-orders-table td,
    .woocommerce-orders-table th {
        font-size: 14px;
    }

    .woocommerce-orders-table .button {
        margin-bottom: 6px;
        display: inline-block;
    }
}




/********************************************************************************************

/* ========= ESTILO PARA /mi-cuenta/edit-account/ ========= */

/* Fondo del formulario */
.woocommerce-EditAccountForm {
    background-color: #080B2654;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Etiquetas del formulario */
.woocommerce-EditAccountForm label {
    color: #C1A65D;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: inline-block;
}

/* Campos de entrada */
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    background-color: transparent;
    border: 1px solid #C1A65D;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 16px;
}

/* Botón guardar */
.woocommerce-EditAccountForm button.button {
    background-color: #C1A65D !important;
    color: #0B0D2A !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

/* Hover del botón */
.woocommerce-EditAccountForm button.button:hover {
    background-color: #b8964e !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ======= Reducir altura (padding interno) de los campos de texto ======= */
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    padding: 6px 10px !important; /* antes era 10px 12px */
    font-size: 14px;
    height: auto; /* aseguramos que no venga forzado por otra regla */
}


/****************************************************************************

/* ==== Estilo para Order Received (/order-received/) ==== */

/* Fondo contenedor principal */
.woocommerce-order {
    background-color: #080B2654;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #C1A65D;
    color: #ffffff;
}

/* Títulos */
.woocommerce-order h2,
.woocommerce-order h3,
.woocommerce-order .woocommerce-notice {
    color: #C1A65D;
}

/* Tabla de resumen del pedido */
.woocommerce-order .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td {
    border: 1px solid #C1A65D;
    padding: 10px 12px;
    color: #fff;
    background-color: transparent;
}

/* Sección de dirección */
.woocommerce-order address {
    color: #fff;
    font-style: normal;
    line-height: 1.7;
    margin-top: 10px;
}

/* Botones de acciones */
.woocommerce-order .button {
    background-color: #C1A65D !important;
    color: #0B0D2A !important;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.woocommerce-order .button:hover {
    background-color: #b8964e !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Info superior (número, fecha, correo) */
.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.woocommerce-order-overview li {
    list-style: none;
    color: #fff;
}

.woocommerce-order-overview strong {
    color: #C1A65D;
}

/******************************************************************

/****** Botón menú *************/
@media (min-width: 768px) {
  .btn-book {
    background-color: #C1A65D;
    border: 1px solid #C1A65D;
    border-radius: 30px;
    padding: 10px 18px;
    transition: all 0.3s ease-in-out;
  }

  .btn-book a {
    color: #fff !important;
    text-decoration: none;
  }

  .btn-book:hover {
    background-color: #BCAE89;
    border: 1px solid #BCAE89;
    border-radius: 30px;
  }

  .btn-book:hover a {
    color: #000 !important;
  }

  .main-nav ul li a {
    line-height: 40px !important;
  }
}
/*****************************css de la tabla ****/
/* ==================== ESTILOS PARA TABLA DE RESERVAS ==================== */

.hello-elementor-child-yith-reservations-table-container {
    background-color: #080B2654 !important;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    overflow-x: auto;
    margin: 0 auto;
    max-width: 100%;
}

/* Tabla base */
.hello-elementor-child-yith-reservations-table {
    table-layout: auto;
    border-collapse: collapse;
    margin: 0;
    width: 100%;
    color: #ffffff;
}

.hello-elementor-child-yith-reservations-table th,
.hello-elementor-child-yith-reservations-table td {
    padding: 6px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: normal; /* Permite salto de línea */
    word-break: break-word; /* Rompe palabras largas */
}

/* Encabezado */
.hello-elementor-child-yith-reservations-table th {
    background-color: #0B0D2A;
    color: #C1A65D;
    font-weight: bold;
}

/* Filtros */
.filter-row input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid #C1A65D;
    color: #C1A65D;
    padding: 4px 6px;
}

.filter-row input::placeholder {
    color: #999;
}

/* Inputs de tipo date */
.filter-row input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
}

/* Botones principales */
.hello-elementor-child-yith-reservations-table .button,
.hello-elementor-child-yith-reservations-table .button.view,
.hello-elementor-child-yith-reservations-table .button.pay,
#download-excel,
#download-pdf {
    background-color: #C1A65D !important;
    color: #0B0D2A !important;
    border: none !important;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(193, 166, 93, 0.2);
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

/* Hover para botones */
.hello-elementor-child-yith-reservations-table .button:hover,
#download-excel:hover,
#download-pdf:hover {
    background-color: #b8964e !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(193, 166, 93, 0.4);
    transform: translateY(-2px);
}

/* Espaciado entre botones de descarga */
#download-excel,
#download-pdf {
    margin-bottom: 6px;
    display: inline-block;
}

#download-excel {
    margin-right: 10px;
}

#download-pdf {
    margin-top: 6px;
}

/* Animación entrada */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





/

/* ========= CHAUFFEUR BOOKING SYSTEM - FIXES ========= */

/* Fix: dropdown selector de país (intlTelInput) - texto invisible sobre fondo blanco */
.iti__country-list {
    background-color: #ffffff !important;
    color: #1a1a2e !important;
}

.iti__country-list .iti__country-name {
    color: #1a1a2e !important;
}

.iti__country-list .iti__dial-code {
    color: #555555 !important;
}

.iti__country-list .iti__country.iti__highlight,
.iti__country-list .iti__country:hover {
    background-color: rgba(193, 166, 93, 0.15) !important;
}

/* Fix: texto del campo "Comments" aparece en negro sobre fondo oscuro */
.chbs-main textarea,
.chbs-main .chbs-form-field textarea {
    color: #ffffff !important;
    background-color: transparent !important;
}

.chbs-main textarea::placeholder,
.chbs-main .chbs-form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
