/* Importar tipografías PRIMERO */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* ===================================================
   Variables y Estilos Básicos
   =================================================== */
:root {
    --color-primary: #0056b2;
    --color-secondary: #ff9800;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --color-primary-light: #3d7cc9;
    --color-secondary-light: #ffb74d;
    --color-whatsapp: #25d366;
    --color-whatsapp-light: #48e085;
    --color-gray: #ccc;
    --color-gray-dark: #666;
    --color-gray-darker: #333;

    /* Compatibilidad con Bootstrap */
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary-rgb: 255, 152, 0;
    --bs-success-rgb: 40, 167, 69;
    --bs-danger-rgb: 220, 53, 69;
    --bs-whatsapp-rgb: 37, 211, 102;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* ===================================================
   Layout y Componentes Generales
   =================================================== */

/* Navbar */
.navbar {
    background-color: var(--color-primary);
}

.navbar-brand img {
    height: 40px;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Tarjetas genéricas */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Botones y Badges */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-light);
    border-color: var(--color-whatsapp-light);
    color: white;
}

.btn-whatsapp:focus,
.btn-whatsapp.focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-whatsapp-rgb), 0.5);
    background-color: var(--color-whatsapp-light);
    border-color: var(--color-whatsapp-light);
    color: white;
}

.btn-whatsapp:active,
.btn-whatsapp.active,
.show>.btn-whatsapp.dropdown-toggle {
    background-color: #1ea952;
    border-color: #1ea952;
    color: white;
}

.btn-whatsapp:disabled,
.btn-whatsapp.disabled {
    background-color: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    opacity: 0.65;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary);
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.price-badge {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Formularios genéricos */
.form-label {
    text-align: center;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    text-align: center !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Estilos para los campos de fecha */
.input-group {
    display: flex;
    gap: 8px;
}

.form-floating {
    flex: 1;
    position: relative;
}

.form-floating input[type="text"] {
    text-align: center !important;
    cursor: pointer;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
    height: calc(3rem + 2px);
}

.form-floating label {
    text-align: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* Mantener los estilos anteriores */
select[name="huespedes"] {
    text-align: center !important;
    padding-right: 0.9rem !important;
    padding-left: 0.9rem !important;
}

select[name="huespedes"] option {
    text-align: center !important;
    direction: ltr !important;
    padding: 5px 0;
}

/* Para los campos de fecha */
input[type="date"], 
input[name="fecha_checkin"], 
input[name="fecha_checkout"] {
    text-align: center !important;
}

.input-group-text {
    background-color: var(--color-light);
    border: 1px solid #e0e0e0;
    color: var(--color-gray-dark);
}

/* Iconos */
.amenity-icon {
    color: var(--color-success);
    margin-right: 5px;
}

/* ===================================================
   Componentes de Apartamentos
   =================================================== */

/* Tarjetas de apartamentos */
.apartment-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para el carrusel en tarjetas */
.apartment-card .carousel-indicators {
    margin-bottom: 0.5rem;
}

.apartment-card .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 3px;
}

.apartment-card .carousel-indicators button.active {
    background-color: white;
}

.apartment-card .carousel-control-prev,
.apartment-card .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s;
}

.apartment-card:hover .carousel-control-prev,
.apartment-card:hover .carousel-control-next {
    opacity: 0.8;
}

.apartment-card .carousel-control-prev-icon,
.apartment-card .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.2rem;
    border-radius: 50%;
    background-size: 50%;
}

/* Precios y descuentos en tarjeta */
.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.precio-destacado {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.discount-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-night-tag {
    background-color: var(--color-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Amenidades */
.amenities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity {
    background-color: var(--color-light);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--color-dark);
}

.location {
    color: #666;
    font-size: 0.95rem;
}

/* Detalles de precio */
.price-detail {
    background-color: var(--color-light);
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 0.85rem;
    border-left: 3px solid var(--color-primary);
}

.total-price-sm {
    background-color: var(--color-light);
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: 0.3rem;
}

/* Información de anfitrión */
.host-info-card {
    background-color: var(--color-light);
    border-radius: 10px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.host-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.host-badge {
    background-color: var(--color-success);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.host-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
}

.host-icon {
    color: var(--color-primary);
}

.host-name {
    font-weight: 500;
}

.host-rating {
    margin-top: 0.2rem;
}

/* ===================================================
   Componentes de Búsqueda
   =================================================== */

/* Controles de fecha */
.date-inputs-container {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.container-focused {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.date-input-wrapper {
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.date-input-wrapper:first-child {
    border-right: 1px solid #e0e0e0;
}

.date-input-wrapper .form-control {
    text-align: center !important;
    cursor: pointer;
}

.date-input-wrapper input[readonly] {
    background-color: #fff;
}

.active-date-input {
    /*background-color: rgba(var(--bs-primary-rgb), 0.05);*/
}

.active-date-input .input-icon {
    color: var(--color-primary);
}

.form-floating {
    height: 58px;
}

.form-floating>.form-control {
    padding-left: 2.5rem;
    height: 58px;
    /*border: none;*/
    background-color: transparent;
}

.form-floating>.form-control:focus {
    /*box-shadow: none;
    border-color: transparent;*/
}

.form-floating>label {
    padding-left: 2.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    /*color: var(--color-primary);
    height: auto;*/
}

.date-range-summary {
    text-align: center;
    font-weight: 500;
    padding: 8px;
    background-color: #f0f7ff;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 10px;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    color: var(--color-primary);
}

.nights-count {
    color: var(--color-primary);
    font-weight: bold;
}

/* Estilos para Litepicker */
.litepicker {
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    background-color: white;
    padding: 8px;
}

.litepicker .container__months {
    box-shadow: none;
    background-color: white;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
    background-color: var(--color-primary);
}

.litepicker .container__days .day-item.is-in-range {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    color: var(--color-primary);
}

.litepicker .container__days .day-item:hover {
    box-shadow: none;
    color: var(--color-primary);
    font-weight: bold;
}

.litepicker .container__days .day-item.is-start-date.is-end-date {
    border-radius: 50%;
}

.litepicker .container__days .day-item.is-start-date {
    border-radius: 50% 0 0 50%;
}

.litepicker .container__days .day-item.is-end-date {
    border-radius: 0 50% 50% 0;
}

.litepicker .container__months .month-item-header {
    padding: 10px 0;
    color: var(--color-primary);
}

.litepicker .container__months .month-item-weekdays-row {
    color: var(--color-gray-dark);
    font-weight: 600;
}

.litepicker .container__tooltip {
    background-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.litepicker .container__tooltip::before {
    border-top-color: var(--color-primary);
}

/* ===================================================
   Campos de tarifa y presupuesto
   =================================================== */

/* Campos de tarifa y presupuesto */
.tarifa-no-editable {
    position: relative;
    box-shadow: 0 0 10px rgba(108, 117, 125, 0.2);
    border: 2px solid #6c757d;
    border-radius: 10px;
    overflow: hidden;
}

.tarifa-no-editable:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: repeating-linear-gradient(45deg,
            rgba(108, 117, 125, 0.05),
            rgba(108, 117, 125, 0.05) 10px,
            rgba(108, 117, 125, 0.02) 10px,
            rgba(108, 117, 125, 0.02) 20px);
    pointer-events: none;
}

.tarifa-no-editable:before {
    content: "No editable";
    position: absolute;
    right: 10px;
    top: -10px;
    background: #6c757d;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 1;
    font-weight: bold;
}

.tarifa-no-editable input {
    font-size: 1.3rem;
    color: #6c757d;
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.presupuesto-editable {
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
    border-radius: 10px;
    overflow: hidden;
    /* Reemplazar la animación personalizada por animate.css */
    --animate-duration: 2s;
    --animate-repeat: infinite;
}

.presupuesto-editable:before {
    content: "Editable";
    position: absolute;
    right: 10px;
    top: -10px;
    background: #28a745;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 1;
    font-weight: bold;
}

.presupuesto-editable input {
    font-size: 1.3rem;
    color: #28a745;
}

/* Encabezado de resultados */
.results-header {
    background-color: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.search-info {
    display: flex;
    gap: 0.5rem;
}

/* Botón de búsqueda */
.search-form .btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transition: all 0.3s;
}

.search-form .btn-primary:hover {
    background-color: #e88e00;
    border-color: #e88e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 153, 0, 0.4);
}

/* Propuesta de valor */
.value-card {
    height: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.value-header {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.value-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.value-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefits-container {
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: white;
}

.benefit-text {
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.info-footer {
    margin-top: auto;
}

.cta-banner {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255, 153, 0, 0.2);
}

.direct-badge {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
}

.direct-badge-sm {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 30px;
}

/* Sección valor de anfitrion */
.valor-anfitrion {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 3px solid var(--color-secondary);
}

.benefit-item-alt {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.benefit-item-alt i {
    color: var(--color-secondary);
    width: 20px;
    margin-right: 0.5rem;
}

.security-note {
    color: var(--color-gray-dark);
}

.intermediary-note {
    background-color: rgba(255, 152, 0, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-secondary);
}

/* ===================================================
   Componentes de Detalles y Ofertas
   =================================================== */

/* Banner de precio */
.precio-banner {
    background-color: var(--color-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.precio-banner .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Tarjeta de detalles */
.property-gallery,
.property-details {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.property-details .card-title {
    color: var(--color-primary);
    font-weight: bold;
}

/* Galería de imágenes */
.thumbnails-container img {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.thumbnails-container img:hover {
    transform: scale(1.05);
    border-color: var(--color-secondary);
}

/* Amenidades */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.amenity-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Descripción */
.description-content {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

/* Formulario de oferta */
.offer-form-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.original-price {
    display: flex;
    flex-direction: column;
}

.price-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-primary);
}

.price-label {
    color: #666;
    font-size: 0.85rem;
}

.trip-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.date-display {
    background-color: #f9f9f9;
    font-weight: 500;
}

.price-calculation {
    background-color: #f9f9f9;
    padding: 0.75rem;
    border-radius: 8px;
}

/* Fechas seleccionadas */
.dates-banner {
    background-color: #f0f8ff;
    border: 1px solid #d1e6ff;
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 8px rgba(0, 102, 204, 0.15);
}

.dates-banner-title {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 1px dashed #d1e6ff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.date-box {
    text-align: center;
    background-color: white;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 130px;
    border: 2px solid #d1e6ff;
    position: relative;
}

.date-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.date-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.date-arrow {
    color: var(--color-primary);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(209, 230, 255, 0.5);
    border-radius: 50%;
}

.checkin-time,
.checkout-time {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.nights-badge {
    background-color: var(--color-primary);
    color: white;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
}

/* Desglose de precios */
.price-breakdown-card {
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.price-breakdown-card .card-header {
    background-color: var(--color-primary) !important;
    padding: 0.8rem 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.price-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.price-divider {
    margin: 0.8rem 0;
    opacity: 0.6;
}

/* Estilos para consejos de oferta */
.tips-oferta {
    background-color: #fff8e1;
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid var(--color-secondary);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tips-header {
    color: #e88e00;
    font-size: 0.95rem;
}

.tips-oferta ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.tips-oferta li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.tips-oferta li:last-child {
    margin-bottom: 0;
}

/* Estilos para validación */
.invalid-feedback {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: #dc3545;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* ===================================================
   Stepper y Proceso de Pasos
   =================================================== */

/* Progreso de pasos estándar */
.progress-steps {
    margin-bottom: 2rem;
}

.step-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.step-container:before {
    content: '';
    position: absolute;
    height: 4px;
    background-color: #e9ecef;
    top: 25px;
    left: 50px;
    right: 50px;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-weight: 500;
}

.step-item.active .step-number {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.step-item.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

.step-item.completed .step-number {
    background-color: var(--color-success);
    color: white;
}

/* Timeline de proceso */
.process-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-item.active .timeline-marker {
    background-color: var(--color-secondary);
    color: white;
}

.timeline-item.completed .timeline-marker {
    background-color: var(--color-success);
    color: white;
}

.timeline-content {
    flex: 1;
    padding-top: 0.2rem;
}


/* Slider card resultados */
.apartment-gallery {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.apartment-gallery .carousel {
    background-color: #000;
}

.apartment-gallery .carousel-item {
    background-color: #000;
}

.apartment-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.apartment-gallery:hover .apartment-image {
    transform: scale(1.03);
}

.apartment-gallery .carousel-control-prev,
.apartment-gallery .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.apartment-gallery:hover .carousel-control-prev,
.apartment-gallery:hover .carousel-control-next {
    opacity: 1;
}

.apartment-gallery .carousel-control-prev {
    left: 10px;
}

.apartment-gallery .carousel-control-next {
    right: 10px;
}

.apartment-gallery .carousel-control-prev-icon,
.apartment-gallery .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100);
}

/* Avatar y estado del anfitrión */
.avatar {
    width: 32px;
    height: 32px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.host-status {
    font-size: 1.25rem;
    line-height: 1;
}

/* Estilos para los precios y características */
.specs {
    color: #6c757d;
}

.specs i {
    margin-right: 4px;
}

.text-primary {
    color: #0d6efd !important;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .apartment-image {
        aspect-ratio: 16/9;
    }
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .sticky-top {
        position: sticky;
        top: 1rem;
    }
    
    .apartment-image {
        height: 280px !important;
    }
    
    .card {
        height: 100%;
    }
    
    .card-body {
        display: flex;
        flex-direction: column;
    }
    
    .mt-auto {
        margin-top: auto !important;
    }
}

@media (max-width: 991.98px) {
    .apartment-image {
        height: 300px !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .sticky-top {
        position: static !important;
    }
}

/* Animaciones suaves */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Mejoras para el grid de resultados */
.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
}

/* Ajustes para las tarjetas en desktop */
@media (min-width: 992px) {
    .card {
        max-width: none;
        margin: 0;
    }
    
    .specs {
        font-size: 0.875rem;
    }
    
    .card-title {
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

/* Estilos personalizados RB */
.position-md-relative-rb {
    position: relative;
}

.position-md-absolute-rb {
    position: relative;
}

.hostCard-rb {}

.text-md-truncate-rb {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.min-w-0-rb {
    min-width: 0;
}

/* ===================================================
   Animaciones
   =================================================== */

/* Las animaciones personalizadas han sido reemplazadas por animate.css */

/* ===================================================
   Responsive y Media Queries (Mobile-First)
   =================================================== */

/* Estilos para móvil (por defecto, sin media query) */
/* Ya están aplicados en las secciones anteriores */

/* Estilos para tablets (768px y superiores) */
@media (min-width: 768px) {
    .stepper-rb {
        display: flex;
        align-items: center;
        padding: 0;
        margin-bottom: 3rem;
    }

    .stepper-rb::before {
        display: none;
    }

    .stepper-rb .step {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 0 0.5rem;
    }

    .stepper-rb .step .circle {
        display: inline-flex;
        width: 32px;
        height: 32px;
        border: 2px solid var(--color-gray);
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        background: white;
        font-weight: bold;
        transition: all .2s;
        z-index: 2;
    }

    .stepper-rb .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 16px;
        right: 0;
        width: 100%;
        height: 2px;
        background: var(--color-gray);
        transform: translateX(50%);
        z-index: 1;
    }

    .stepper-rb .mobile-step-title {
        display: none;
    }

    .stepper-rb .label {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.85rem;
        color: var(--color-gray-dark);
        text-align: center;
    }

    .stepper-rb .step.completed .circle {
        border-color: var(--color-success);
        background-color: white;
    }

    .stepper-rb .step.completed .label {
        color: var(--color-success);
        font-weight: 500;
    }

    .stepper-rb .step[data-step=var(--c)] .circle {
        border-color: var(--color-primary);
        background: var(--color-primary);
        color: white;
        transform: scale(1.1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .stepper-rb .step[data-step=var(--c)] .label {
        color: var(--color-primary);
        font-weight: 600;
    }

    .stepper-rb .step.completed[data-step=var(--c)] .circle {
        border-color: var(--color-primary);
        background: white;
    }

    .stepper-rb .step.completed[data-step=var(--c)] .circle i {
        color: var(--color-primary);
    }

    .stepper-rb .step.completed:not(:last-child)::after,
    .stepper-rb .step[data-step=var(--c)]:not(:last-child)::after {
        background: var(--color-primary);
    }

    .indicadorStepperMovil {
        display: none;
    }

    /* Más estilos para tablet */
    .confirmation-container {
        padding: 3rem 2rem;
    }

    .details-card {
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: row;
    }

    .contact-buttons {
        flex-direction: row;
    }

    /* Slider card resultados */
    .apartment-gallery {
        width: 220px;
        height: 220px;
        position: relative;
        flex: 0 0 220px;
    }


    /* Estilos personalizados RB */
    .position-md-absolute-rb {
        position: absolute;
    }

    .aling-items-md-end {
        align-items: flex-end !important;
    }

    .hostCard-rb {
        line-height: 38px;
        bottom: -38px;
    }

    .position-md-relative-rb {
        position: relative;
    }

    .w-md-auto-rb {
        width: auto !important;
    }

    .text-md-truncate-rb {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}

/* Estilos para PC (992px y superiores) */
@media (min-width: 992px) {
    .stepper-rb .step {
        padding: 0 1rem;
    }

    .stepper-rb .circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stepper-rb .step:not(:last-child)::after {
        top: 20px;
    }

    .stepper-rb .label {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }

    /* Más estilos para escritorio */
    .value-card {
        margin-top: 0;
    }
}

/* Media queries para ajustes específicos en pantallas pequeñas */
@media (max-width: 991.98px) {
    .value-card {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .confirmation-container {
        padding: 2rem 1rem;
    }

    .details-card {
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
    }
}

/* ===================================================
   Stepper Raul Benavente
   =================================================== */

.stepper-rb {
    --c: var(--current-step);
    --t: var(--total-steps);
    display: block;
}

.stepper-rb::before {
    content: var(--c) " de " var(--t);
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background: var(--color-primary);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stepper-rb .step {
    display: none;
}

.stepper-rb .step.completed {
    display: flex;
}

.stepper-rb .step[data-step=var(--c)] {
    display: block;
    padding-top: 0.5rem;
}

.stepper-rb .step .circle {
    display: none;
}

.stepper-rb .mobile-step-title {
    display: block;
    margin-top: 0.5rem;
}

.stepper-rb .mobile-step-title h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.stepper-rb .step-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stepper-rb .step-actions .btn {
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.stepper-rb .clear-progress {
    background-color: #ff4d4f;
    border-color: #ff4d4f;
}

.stepper-rb .next-step-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    text-decoration: none;
}

.stepper-rb .circle i {
    font-size: 1.1rem;
}

.stepper-rb .step.completed .circle i.bi-check-circle-fill {
    color: var(--color-success);
    font-size: 1.3rem;
}

/* ===================================================
   Indicador de Progreso Circular
   =================================================== */

.progress-ring {
    transform: rotate(-90deg);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.progress-ring__circle-bg {
    stroke: var(--color-gray);
    opacity: 0.4;
}

.progress-ring__circle {
    stroke: var(--color-primary);
    transition: stroke-dashoffset 0.5s ease-in-out;
    stroke-linecap: round;
}

.progress-ring__text {
    transform: rotate(90deg);
    font-size: 14px;
    font-weight: bold;
    fill: var(--color-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    alignment-baseline: middle;
    -webkit-transform-origin: center;
    transform-origin: center;
}

/* ===================================================
   Ubicación y Mapas
   =================================================== */

.location-map-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid #dadce0;
}

.location-map {
    height: 360px;
    width: 100%;
    border-radius: 10px;
    min-height: 250px;
    background-color: #e5e3df;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Estilos para el mapa tipo Google Maps */
.location-map .leaflet-container {
    font-family: Roboto, Arial, sans-serif;
}

/* Controles del mapa */
.location-map .leaflet-control-zoom {
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.location-map .leaflet-control-zoom a {
    background-color: #fff;
    color: #666;
    width: 32px;
    height: 32px;
    line-height: 30px;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    border: none;
}

.location-map .leaflet-control-zoom a:hover {
    background-color: #f4f4f4;
    color: #333;
}

.location-map .leaflet-control-zoom-in {
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
}

.location-map .leaflet-control-zoom-out {
    border-radius: 0 0 4px 4px;
}

/* Overlay con información */
.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.map-disclaimer {
    font-size: 0.85rem;
    text-align: center;
}

/* Marcador de zona */
.zone-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.2);
    border: 3px solid rgba(255, 152, 0, 0.5);
    pointer-events: none;
    z-index: 500;
}

/* Botón de pantalla completa */
.map-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-fullscreen-btn:hover {
    background-color: #f4f4f4;
}

/* Logo de mapa */
.map-logo {
    position: absolute;
    bottom: 20px;
    left: 10px;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Escala del mapa */
.leaflet-control-scale {
    background: transparent;
    border: none;
}

.leaflet-control-scale-line {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #999;
    border-top: none;
    font-size: 11px;
    line-height: 1.1;
    padding: 2px 5px 1px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Atribución personalizada */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    padding: 2px 5px;
}

/* ===================================================
   Componentes de Confirmación
   =================================================== */

.confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.confirmation-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.details-card {
    background-color: #f9f9fa;
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.details-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0.7rem 0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-family: 'Roboto', sans-serif;
}

.detail-value {
    font-weight: 500;
    color: #333;
    text-align: right;
    font-family: 'Roboto', sans-serif;
}

.reference-tag {
    background-color: #f0f0f0;
    color: #333;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    border: 1px dashed #ccc;
    margin-bottom: 0.5rem;
}

.contact-message {
    background-color: #FFF8E1;
    border-left: 4px solid var(--color-secondary);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.next-steps-card {
    background-color: #E8F4FD;
    border-left: 4px solid var(--color-primary);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.next-steps-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.next-steps-list {
    margin-left: 1.5rem;
    padding-left: 0;
}

.next-steps-list li {
    margin-bottom: 0.5rem;
}

.policies-card {
    background-color: #FFF8E1;
    border-left: 4px solid var(--color-secondary);
    padding: 1.2rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.policies-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
}

.policy-item {
    display: flex;
    margin-bottom: 0.8rem;
}

.policy-item i {
    color: var(--color-secondary);
    margin-right: 0.8rem;
    min-width: 20px;
}

.special-requests {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.help-container {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.help-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #444;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===================================================
   Header y Navegación
   =================================================== */

/*.header-logo {
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}*/

/* ===================================================
   Slider de Altura Completa - Página Principal
   =================================================== */

/* Estilos para el slider a pantalla completa */
body,
html {
    height: 100%;
}

.carousel-slider-fullheight {
    height: calc(100vh - 120px);
    /* Altura completa menos el espacio para la navegación */
}

/* Asegurar que las imágenes llenan el espacio disponible */
#departamentosSlider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Hacer que los indicadores sean más visibles */
#departamentosSlider .carousel-indicators {
    bottom: 20px;
}

#departamentosSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Estilos para móviles */
@media (max-width: 991px) {
    .carousel-slider-fullheight {
        height: 50vh;
        /* En móvil, altura media */
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .row.min-vh-100 {
        min-height: auto !important;
        /* Anular min-height en móviles */
    }
}

/* Enlaces con color primario */
.link-primary {
    color: var(--color-primary) !important;
    text-decoration: none;
}

.link-primary:hover,
.link-primary:focus {
    color: var(--color-primary-light) !important;
    text-decoration: underline;
}


.text-justify {
    text-align: justify !important;
}

/* ===================================================
   Header Fijo - Solo Durante Scroll
   =================================================== */

/* Header se vuelve fijo solo durante el scroll */
header.header-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

/* Transición suave para la sombra del header */
header {
    transition: box-shadow 0.3s ease, position 0.3s ease;
}

/* Eliminar padding-top del body ya que el header no estará siempre fijo */
/* El padding-top: 80px ya no es necesario */

/* ===================================================
   Slider con información de departamentos
   =================================================== */

/* Tarjeta informativa superpuesta en el slider */
.carousel-item .position-absolute {
    transition: all 0.3s ease;
}

.carousel-item .position-absolute h4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.carousel-item .position-absolute span {
    background: rgba(0,0,0,0.3);
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Indicadores de información debajo del slider */
#departamento-info {
    transition: opacity 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

#departamento-info .col-6 {
    border-right: 1px solid rgba(0,0,0,0.05);
}

#departamento-info .col-6:last-child {
    border-right: none;
}

#departamento-info i {
    transition: transform 0.3s ease;
}

#departamento-info .col-6:hover i {
    transform: scale(1.1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .carousel-item .position-absolute {
        padding: 1rem !important;
    }
    
    .carousel-item .position-absolute h4 {
        font-size: 1.2rem;
    }
    
    .carousel-item .position-absolute .small {
        font-size: 0.75rem;
    }
    
    #departamento-info .col-6 {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    #departamento-info .col-6:nth-child(3),
    #departamento-info .col-6:nth-child(4) {
        border-bottom: none;
    }
}

/* Animación suave para el carousel */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Mejora visual de los controles del carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

/* Animaciones */
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate__flash {
    animation: flash 2s infinite;
}

/* Estilos para las imágenes de departamentos */
.apartment-photo {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    overflow: hidden;
}

.apartment-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.carousel-indicators {
    margin-bottom: 0.5rem;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators button.active {
    background-color: #fff;
}

/* Estilos para el avatar del anfitrión */
.avatar {
    width: 32px;
    height: 32px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* Estilos para los íconos en los inputs */
.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* Estilos para el botón de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

/* Estilos para el menú de navegación */
.nav-link {
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/* Estilos para las tarjetas */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Estilos para los botones */
.btn {
    font-weight: 500;
}

/* Estilos para los inputs */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Estilos para los precios */
.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--bs-primary);
}

/* Estilos para las especificaciones */
.specs {
    color: #6c757d;
}

.specs i {
    margin-right: 4px;
}

/* Estilos para los mensajes de estado */
.host-status {
    font-size: 1.25rem;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
    }
    
    .card:hover {
        transform: none;
    }

    .form-control-lg,
    .form-select-lg {
        height: 45px;
    }
}