/* Anuncia tu Habitación — formulario público [anuncia_tu_habitacion] */
.ath-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.ath-errores {
    border: 1px solid #d63638;
    background: #fcf0f1;
    color: #8a1f21;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.ath-errores ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.ath-form__aviso {
    background: #f4f7f4;
    border-left: 4px solid #2e7d32;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
}

.ath-form__grupo {
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 16px 18px 6px;
    margin: 0 0 18px;
}

.ath-form__grupo legend {
    font-weight: 700;
    padding: 0 8px;
}

.ath-campo {
    margin: 0 0 14px;
}

.ath-campo label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.ath-campo input[type="text"],
.ath-campo input[type="email"],
.ath-campo input[type="tel"],
.ath-campo input[type="number"],
.ath-campo input[type="date"],
.ath-campo select,
.ath-campo textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #b9b9bd;
    border-radius: 7px;
    font: inherit;
}

.ath-campo__ayuda {
    display: block;
    color: #646970;
    margin-top: 4px;
}

/* Honeypot: fuera de pantalla, jamás visible para humanos. */
.ath-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ath-form__enviar {
    text-align: center;
}

.ath-btn {
    background: #25d366;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

.ath-btn:hover {
    filter: brightness(0.95);
}

.ath-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
}

/* Mapa de ubicación y sección «¿Qué hay cerca?» en la página del anuncio */
.ath-mapa,
.ath-cercanos {
    margin-top: 28px;
}

.ath-mapa iframe {
    border-radius: 10px;
    max-width: 100%;
}

.ath-mapa__nota,
.ath-cercanos__nota {
    color: #646970;
    font-size: 0.92em;
}

.ath-cercanos ul {
    margin: 8px 0 8px 18px;
    padding: 0;
}

.ath-cercanos__fuente {
    color: #8a8f94;
}

/* ================================================================ v1.2.0
 * Formulario: grupos de casillas (servicios, amenidades, requisitos…) */
.ath-casillas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px 14px;
}

.ath-casilla {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.ath-casilla input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1873b6;
    flex: none;
}

.ath-campo > input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #1873b6;
    vertical-align: middle;
}

/* Ficha pública estructurada del anuncio: tarjetas con identidad propia
 * de Mi Casa Hospedaje (azul marino #0F2A43, azul #1873B6, esquinas 16px) */
.ath-ficha {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.ath-ficha__seccion {
    border: 1px solid #d7e2ee;
    border-radius: 16px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 42, 67, 0.06);
}

.ath-ficha__seccion h3 {
    color: #0f2a43;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1873b6;
    font-size: 1.12rem;
}

.ath-ficha__sub {
    font-weight: 700;
    color: #0f2a43;
    margin: 14px 0 6px;
}

.ath-ficha__otros {
    margin: 10px 0 0;
}

/* Datos clave en tarjetas pequeñas */
.ath-clave {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 0;
}

.ath-clave > div {
    background: #eef4fa;
    border: 1px solid #d7e6f3;
    border-radius: 12px;
    padding: 10px 12px;
}

.ath-clave dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #46617c;
    margin: 0;
}

.ath-clave dd {
    margin: 3px 0 0;
    font-weight: 700;
    color: #0f2a43;
    font-size: 1.02rem;
}

/* Renglones etiqueta/valor */
.ath-detalle {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.ath-detalle li {
    padding: 6px 0;
    border-bottom: 1px dashed #e0e9f1;
}

.ath-detalle li:last-child {
    border-bottom: 0;
}

.ath-detalle strong {
    color: #0f2a43;
}

/* Pastillas de amenidades/servicios/requisitos */
.ath-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.ath-chips li {
    background: #e8f1f9;
    border: 1px solid #c4dcef;
    color: #0f2a43;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 0.92rem;
    font-weight: 600;
}

/* Sellos destacados (Sin depósito, Sin aval) */
.ath-sellos {
    margin: 12px 0 0;
}

.ath-sello {
    display: inline-block;
    background: #1873b6;
    color: #fff;
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 6px;
}

/* Enlaces para compartir el anuncio (ficha pública) */
.ath-compartir {
    margin-top: 20px;
}

.ath-compartir a {
    font-weight: 600;
    text-decoration: none;
}

.ath-compartir a:hover {
    text-decoration: underline;
}

/* Busco roomie (v1.5.0) */
.ath-grupo-roomie { border: 1px solid #90caf9; background: #f3f8ff; }
.ath-grupo-roomie legend { color: #1565c0; font-weight: 600; }
.ath-roomie-aviso { font-size: .9rem; color: #555; }