/* Ocultar solo la fila exacta de "Permitir reserva instantánea" */
body.wprentals_dashboard_page .col-md-12:has(> input#instant_booking) {
    display: none !important;
}
/* Ocultar banda de campos obligatorios en editar/añadir alojamiento */
body.wprentals_dashboard_page  .submit_mandatory.col-md-12 {
    display: none !important;
}
/* Ocultar "Antes de la etiqueta" y "Después de la etiqueta" */
body.wprentals_dashboard_page .col-md-3:has(> label[for="property_price_before_label"]),
body.wprentals_dashboard_page .col-md-3:has(> label[for="property_price_after_label"]) {
    display: none !important;
}

body.wprentals_dashboard_page .listing_title_book {
    padding-left: 0;
}
body.wprentals_dashboard_page  .info-container_booking span {
   margin: 0;
}
.reply_to_review, .trip_details, .proceed-payment_full, .waiting_payment, .full_invoice_reminder, .you_already_review, .post_review_later, .confirmed_booking, .contact_client_reservation, .contact_owner_reservation, .proceed-payment_full, #post_review, .proceed-payment, .tag-post-review, .action1_booking, .generate_invoice {
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    min-height: 42px;
}
.wpestate-repy-review-wrapper {
    background-color: #F6F5F4;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    margin-left: 0;
}
/* Añadir asterisco de campo obligatorio  */
body.wprentals_dashboard_page .col-md-6 p:has(> input#title) label[for="title"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> select#prop_category_submit) label[for="prop_category"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> select#prop_action_category_submit) label[for="prop_action_category"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> select#guest_no) label[for="guest_no"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> input#property_city_front) label[for="property_city_front"]::after,
body.wprentals_dashboard_page .col-md-6:has(> textarea#property_description) label[for="property_description"]::after,
body.wprentals_dashboard_page .col-md-3:has(> input#property_price) > label[for="property_price"]::after,
body.wprentals_dashboard_page .col-md-3:has(> select#prop_category_submit) > label[for="prop_category_submit"]::after,
body.wprentals_dashboard_page .col-md-3:has(> select#prop_action_category_submit) > label[for="prop_action_category_submit"]::after,
body.wprentals_dashboard_page .col-md-6 p:has(> input#property_rooms) label[for="property_rooms"]::after,
body.wprentals_dashboard_page .col-md-6 p:has(> input#property_bathrooms) label[for="property_bedrooms"]::after,
body.wprentals_dashboard_page .col-md-6 p:has(> input#numero-de-registro-turistico) label[for="numero-de-registro-turistico"]::after,
body.wprentals_dashboard_page .col-md-6 p:has(> select#politica-de-cancelacion) label[for="politica-de-cancelacion"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> input#property_address) label[for="property_address"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> input#property_zip) label[for="property_zip"]::after,
body.wprentals_dashboard_page .col-md-3 p:has(> input#property_county) label[for="property_county"]::after{
    content: " *";
    color: #e53935;
    font-weight: 700;
}
.wpestate_bell_note {
  display:none !important;
}
.wprentals_dashboard_page  .wpestate_dashboard_table_list_header:after {
    border-bottom: 0px;
}
.wprentals_dashboard_page  .no_list_yet, .no_favorites {
    padding-top: 20px;
}

.wprentals_dashboard_page .user_tab_menu {
    position: relative;
    margin-bottom: 30px;
}
.wprentals_dashboard_page .new-listing-alert {
    margin-left: 15px;
    margin-bottom: 30px;
}

/* Ocultar botón inútil de "Coloque el pin con la dirección" en editar alojamiento */
.wprentals_dashboard_page #google_capture {
    display: none !important;
}
/* Ocultar Notas privadas y Mensaje de registro en editar alojamiento */
.wprentals_dashboard_page label[for="private_notes"],
.wprentals_dashboard_page #private_notes,
.wprentals_dashboard_page label[for="checkin-message"],
.wprentals_dashboard_page #checkin-message {
    display: none !important;
}
.wprentals_dashboard_page .col-md-3:has(#property_latitude),
.wprentals_dashboard_page .col-md-3:has(#property_longitude),
.wprentals_dashboard_page .dashboard_chapter_label:has(+ .col-md-3 #property_latitude) {
    display: none !important;
}
.wprentals_dashboard_page .price_explaning {
    margin-bottom: 50px;
}

/* =========================
   CALENDARIO - ZONA PRIVADA
   Pulido provisional Fase 2
   ========================= */

.wprentals_dashboard_page .user_dashboard_panel .row {
    margin: 0 auto;
}

.wprentals_dashboard_page .user_dashboard_panel_title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.15;
}

.wprentals_dashboard_page .price_explaning {
    max-width: 860px;
    margin: 0 auto 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #7a7a7a;
}

/* Caja principal del calendario */
.wprentals_dashboard_page .booking-calendar-wrapper-in-wrapper.booking-calendar-set {
    max-width: 860px;
    margin: 0 auto 18px;
    padding: 0;
    position: relative;
}

.wprentals_dashboard_page .booking-calendar-wrapper-in {
    padding: 0 !important;
}

.wprentals_dashboard_page .booking-calendar-wrapper-in .month-title {
    background: #4a4a4a;
    color: #fff;
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    padding: 16px 60px;
    margin: 0;
    border-radius: 14px 14px 0 0;
    text-transform: lowercase;
}

/* Flechas */
.wprentals_dashboard_page #calendar-prev-internal-set,
.wprentals_dashboard_page #calendar-next-internal-set {
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wprentals_dashboard_page #calendar-prev-internal-set {
    left: auto;
    right: 46px;
}

.wprentals_dashboard_page #calendar-next-internal-set {
    right: 6px;
}

.wprentals_dashboard_page #calendar-prev-internal-set i,
.wprentals_dashboard_page #calendar-next-internal-set i {
    color: #fff;
    font-size: 14px;
}

/* Tabla */
.wprentals_dashboard_page .wp-calendar.booking-calendar {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #eef1f6;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar thead th {
    height: 52px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #dfe5ee;
    border: 1px solid #d7dde7;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar tbody td {
    position: relative;
    height: 86px;
    vertical-align: top;
    padding: 10px 10px 8px;
    border: 1px solid #d7dde7;
    background: #fff;
    font-size: 15px;
    color: #444;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar tbody td.pad {
    background: #eef1f6;
}

/* Días pasados */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.has_past {
    background: #eef1f6;
    color: #b6beca;
}

/* Hoy */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-today {
    background: #4a4a4a;
    color: #fff;
    font-weight: 700;
}

/* =========================
   CALENDARIO RESERVAS
   Respetar start_reservation / end_reservation
   ========================= */

/* Base */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.end_reservation {
    position: relative;
    color: #fff;
    overflow: hidden;
}

/* No forzar rojo completo por defecto */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved {
    background: #fff;
    color: #444;
}

/* Texto por encima del color */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved .rentals_reservation {
    position: relative;
    z-index: 3;
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

/* Día completo reservado */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved:not(.start_reservation):not(.end_reservation)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #e93232;
    z-index: 1;
}

/* Día de entrada: fondo blanco + diagonal roja */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved.start_reservation {
    background: #fff !important;
    color: #222 !important;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved.start_reservation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, #e93232 50%);
    z-index: 1;
}

/* El texto de la reserva por encima */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved.start_reservation .rentals_reservation {
    position: relative;
    z-index: 3;
    color: #fff !important;
}

/* Fin de reserva sobre celda libre: mitad izquierda roja */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.end_reservation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e93232 50%, transparent 50%);
    z-index: 1;
}

/* Número del día por encima */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.end_reservation {
    position: relative;
    z-index: 2;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved > *,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.end_reservation > * {
    position: relative;
    z-index: 3;
}

/* Color del texto en reservados */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved * {
    color: #fff !important;
}

/* =========================
   SELECCIÓN PROVISIONAL ANTES DE GUARDAR
   (celdas con .calendar-free.calendar-reserved)
   ========================= */

/* Base: tramo provisional completo en rojo */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved {
    position: relative;
    background: #e93232 !important;
    color: #fff !important;
    overflow: hidden;
}

/* El número por encima */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved > * {
    position: relative;
    z-index: 3;
}

/* -------------------------
   PRIMER DÍA DEL TRAMO
   - si va justo después de una celda no seleccionada
   - o si es la primera celda de la fila
------------------------- */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free:not(.calendar-reserved) + td.calendar-free.calendar-reserved,
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:first-child.calendar-free.calendar-reserved {
    background: #fff !important;
    color: #222 !important;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free:not(.calendar-reserved) + td.calendar-free.calendar-reserved::before,
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:first-child.calendar-free.calendar-reserved::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, #e93232 50%);
    z-index: 1;
}

/* -------------------------
   ÚLTIMO DÍA DEL TRAMO
   - si NO tiene otra celda seleccionada a continuación
------------------------- */
/* ÚLTIMO DÍA DEL TRAMO PROVISIONAL */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.calendar-free:not(.calendar-reserved)),
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.pad),
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:last-child.calendar-free.calendar-reserved {
    background: #fff !important;
    color: #222 !important;
}

/* ÚLTIMO DÍA DEL TRAMO PROVISIONAL */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.calendar-free:not(.calendar-reserved)),
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.pad),
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:last-child.calendar-free.calendar-reserved {
    background: #fff !important;
    color: #222 !important;
    position: relative;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.calendar-free:not(.calendar-reserved))::before,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.calendar-reserved:has(+ td.pad)::before,
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:last-child.calendar-free.calendar-reserved::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e93232 50%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* -------------------------
   CASO DE UN SOLO DÍA
   - si es inicio y fin a la vez
------------------------- */
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:first-child.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved)),
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free:not(.calendar-reserved) + td.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved)) {
    background: #e93232 !important;
    color: #fff !important;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:first-child.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved))::before,
.wprentals_dashboard_page .wp-calendar.booking-calendar tr td:first-child.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved))::after,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free:not(.calendar-reserved) + td.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved))::before,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free:not(.calendar-reserved) + td.calendar-free.calendar-reserved:not(:has(+ td.calendar-free.calendar-reserved))::after {
    display: none;
}



/* Si prefieres ocultar el ID y dejarlo más limpio, descomenta esto */
/*
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved .rentals_reservation {
    font-size: 0;
}
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved .rentals_reservation::before {
    content: "Bloqueado";
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
}
*/

/* Leyenda */
.wprentals_dashboard_page .calendar-actions {
    max-width: 860px;
    margin: 14px auto 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
	    margin-bottom: 50px;
}

.wprentals_dashboard_page .calendar-actions > div {
    margin: 0 !important;
}

.wprentals_dashboard_page .calendar-actions span {
    font-size: 14px;
    color: #444;
    margin-right: 10px;
}

/* Bloque iCal */
.wprentals_dashboard_page .export_ical,
.wprentals_dashboard_page .import_ical {
    max-width: 860px;
    margin: 26px auto 0;
}

.wprentals_dashboard_page .export_ical {

    border-radius: 14px;
    padding: 18px 20px;
    line-height: 1.5;
    color: #444;
    word-break: break-word;
}

.wprentals_dashboard_page .export_ical strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.wprentals_dashboard_page #icalfeed_wrapper {
    background: #eef1f6;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0 18px;
    color: #5b6270;
	float:none;
}
.wprentals_dashboard_page  .booking-calendar-wrapper-in-price, .wprentals_dashboard_page  .booking-calendar-wrapper-in {
    background-color: #fff;
}


.wprentals_dashboard_page .icalfeed label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    font-weight: 500;
}

.wprentals_dashboard_page .icalfeed input.form-control {
    max-width: 460px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 10px;
}

.wprentals_dashboard_page #add_extra_feed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 48px;
    padding: 0 22px;
    margin-top: 4px;
    background: #53b96a;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

/* Botón guardar */
.wprentals_dashboard_page #edit_calendar {
    margin-top: 22px;
    min-width: 170px;
    height: 48px;
    border-radius: 10px;
}

/* Modal */
.wprentals_dashboard_page #owner_reservation_modal .modal-dialog {
    width: 100%;
    max-width: 560px;
}

.wprentals_dashboard_page #owner_reservation_modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.wprentals_dashboard_page #owner_reservation_modal .modal-header {
    padding: 26px 28px 18px;
    text-align: center;
    border: 0;
}

.wprentals_dashboard_page #owner_reservation_modal .modal-title_big {
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.wprentals_dashboard_page #owner_reservation_modal .modal-title {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

.wprentals_dashboard_page #owner_reservation_modal .modal-body {
    padding: 24px 34px 34px;
}

.wprentals_dashboard_page #owner_reservation_modal label {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
    color: #444;
}

.wprentals_dashboard_page #owner_reservation_modal .form-control {
    border-radius: 10px;
    min-height: 46px;
    margin-bottom: 18px;
}

.wprentals_dashboard_page #owner_reservation_modal textarea.form-control {
    min-height: 130px;
}

.wprentals_dashboard_page #owner_reservation_modal #book_dates {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
}

.wprentals_dashboard_page #owner_reservation_modal .close {
    position: absolute;
    right: 16px;
    top: 10px;
    font-size: 30px;
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .wprentals_dashboard_page .user_dashboard_panel .row {
        max-width: 100%;
    }

    .wprentals_dashboard_page .user_dashboard_panel_title {
        font-size: 26px;
    }

    .wprentals_dashboard_page .booking-calendar-wrapper-in .month-title {
        font-size: 22px;
        padding: 16px 46px;
    }

    .wprentals_dashboard_page .wp-calendar.booking-calendar tbody td {
        height: 72px;
        padding: 8px 6px;
        font-size: 14px;
    }

    .wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved .rentals_reservation {
        font-size: 11px;
    }

    .wprentals_dashboard_page .icalfeed input.form-control {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .wprentals_dashboard_page .price_explaning,
    .wprentals_dashboard_page .booking-calendar-wrapper-in-wrapper.booking-calendar-set,
    .wprentals_dashboard_page .calendar-actions,
    .wprentals_dashboard_page .export_ical,
    .wprentals_dashboard_page .import_ical {
        max-width: 100%;
    }

    .wprentals_dashboard_page .booking-calendar-wrapper-in .month-title {
        font-size: 18px;
        padding: 14px 42px;
    }

    .wprentals_dashboard_page .wp-calendar.booking-calendar thead th {
        font-size: 12px;
        height: 42px;
    }

    .wprentals_dashboard_page .wp-calendar.booking-calendar tbody td {
        height: 58px;
        padding: 6px 4px;
        font-size: 12px;
    }

    .wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved .rentals_reservation {
        display: none;
    }

    .wprentals_dashboard_page #owner_reservation_modal .modal-dialog {
        max-width: calc(100% - 24px);
        margin: 18px auto;
    }

    .wprentals_dashboard_page #owner_reservation_modal .modal-header {
        padding: 22px 20px 14px;
    }

    .wprentals_dashboard_page #owner_reservation_modal .modal-title_big {
        font-size: 28px;
    }

    .wprentals_dashboard_page #owner_reservation_modal .modal-body {
        padding: 20px;
    }
}

/* Hover más neutro para no romper diagonales */
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.has_future:hover {
    cursor: pointer;
    filter: brightness(.96);
    transition: filter .18s ease;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.has_past:hover {
    cursor: default;
    filter: none;
}

.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-today:hover,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-reserved:hover,
.wprentals_dashboard_page .wp-calendar.booking-calendar td.calendar-free.end_reservation:hover {
    filter: none;
}

.wprentals_dashboard_page  .user_dashboard_panel_title {
    padding: 0;
	    margin-bottom: 30px;
    margin-left: 25px;
}
   .wprentals_dashboard_page  .import_ical,.wprentals_dashboard_page  .export_ical {
        max-width: 100%;
        padding: 0;
    }

/* =========================
   SUBIDA DE IMÁGENES - ZONA PRIVADA
   ========================= */

body.wprentals_dashboard_page #upload-container {
    max-width: 920px;
    margin: 0 auto 10px;
}


/* Caja de arrastrar/soltar */
body.wprentals_dashboard_page #drag-and-drop.rh_drag_and_drop_wrapper {
min-height: 240px;
    border: 3px dashed #000;
    border-radius: 18px;
    background-color: rgba(249, 233, 224, 0.57);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

/* Hover visual */
body.wprentals_dashboard_page #drag-and-drop.rh_drag_and_drop_wrapper:hover {
    border-color: #bca98b;
    background: #f7f2ea;
}

/* Texto superior */
body.wprentals_dashboard_page #drag-and-drop .drag-drop-msg {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: #746b60;
    font-weight: 500;
}

/* Icono nube */
body.wprentals_dashboard_page #drag-and-drop .drag-drop-msg i {
    display: block;
    margin: 0 auto 12px;
    font-size: 34px;
    color: #bca98b;
}

/* Botón */
body.wprentals_dashboard_page #aaiu-uploader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    background: #111 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.wprentals_dashboard_page #aaiu-uploader:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Texto de ayuda inferior */
body.wprentals_dashboard_page .full_form.full_form_image {
    margin-bottom: 30px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}

/* Lista de imágenes subidas */
body.wprentals_dashboard_page #imagelist,
body.wprentals_dashboard_page #aaiu-upload-imagelist {
    margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 767px) {
    body.wprentals_dashboard_page #aaiu-upload-container {
        padding: 20px 18px 18px;
        border-radius: 14px;
    }

    body.wprentals_dashboard_page #drag-and-drop.rh_drag_and_drop_wrapper {
        min-height: 200px;
        padding: 24px 16px;
        border-radius: 14px;
    }

    body.wprentals_dashboard_page #drag-and-drop .drag-drop-msg {
        font-size: 17px;
    }

    body.wprentals_dashboard_page #drag-and-drop .drag-drop-msg i {
        font-size: 28px;
    }

    body.wprentals_dashboard_page #aaiu-uploader {
        min-width: 190px;
        height: 48px;
    }
}

/* Bloque de acciones inferior: Guardar + siguiente paso */
body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) {
    display: flex !important;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Botón Guardar */
body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > input[type="submit"].vc_button,
body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > input[type="submit"].wpestate_vc_button {
    margin: 0 !important;
    min-width: 150px;
    flex: 0 0 auto;
}

/* Enlace siguiente paso */
body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > a.next_submit_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    margin: 0 !important;
    margin-left: auto !important;
    border: 1px solid #dcd6cc;
    border-radius: 12px;
    background: #fff;
    color: #111 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: all .2s ease;
}

body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > a.next_submit_page:hover {
    background: #f7f3ed;
    border-color: #cdbfa8;
    color: #111 !important;
}

body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > a.next_submit_page::after {
    content: "→";
    margin-left: 8px;
    font-size: 15px;
}

/* Móvil */
@media (max-width: 767px) {
    body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) {
        flex-direction: column;
        align-items: stretch;
    }

    body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > input[type="submit"].vc_button,
    body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > input[type="submit"].wpestate_vc_button,
    body.wprentals_dashboard_page [style*="inline-block"]:has(> a.next_submit_page) > a.next_submit_page,
	body.wprentals_dashboard_page  input[type="submit"].wpestate_vc_button {
        width: 100% !important;
        margin-left: 0 !important;
		max-width:100% !important;
    }
}
body.wprentals_dashboard_page .custom_day_wrapper_dash {
    max-width: 100%;
     margin: auto; 
}



/* Cada línea: solo 10px entre una y otra */
body.wprentals_dashboard_page .user_dashboard_panel .bedroom_input_val {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* Última fila sin margen abajo */
body.wprentals_dashboard_page .user_dashboard_panel .bedroom_input_val:last-child {
    margin-bottom: 0 !important;
}

/* Etiquetas */
body.wprentals_dashboard_page .user_dashboard_panel .bedroom_input_val label {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 150px;
    line-height: 1.2 !important;
    white-space: nowrap;
}

/* Input */
body.wprentals_dashboard_page .user_dashboard_panel .bedroom_input_val input[type="text"] {
    margin: 0 !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 30px !important;
    padding: 4px 6px !important;
    line-height: 1 !important;
}

/* Quita aire extra del bloque dormitorio */
body.wprentals_dashboard_page .user_dashboard_panel .bed_wrapper {
    padding: 14px 16px !important;
}

/* Botón abrir/cerrar */
body.wprentals_dashboard_page .user_dashboard_panel .bed_wrapper .beds_wrapper.control {
    top: 14px !important;
    right: 16px !important;
}

/* Ocultar solo el bloque "Mensaje de registro" */
#new_post2 > .row > .col-md-12:has(#checkin-message),
#new_post > .row > .col-md-12:has(#checkin-message) {
    display: none !important;
}

/* Ocultar checkbox + texto "Mostrar formulario de contacto..." */
#new_post2 .wp_estate_replace_booking_form_submit_wrapper,
#new_post .wp_estate_replace_booking_form_submit_wrapper {
    display: none !important;
}
