:root {
    --primary-color: #1f3a8a;
    --secondary-bg: #f1f5f9;
}

/* BASE */
body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg,  #D2D4E5 40%, #B0B3D3 100%);
    font-family: Arial, Helvetica, sans-serif;
}

.fondo {
    background-color: #e9ecf2;
}

/* HERO */
.hero-about {
    width: 100%;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/viejitoEdit.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* SEARCH BAR */
.search-bar {
    background: white;
    gap: 10px;
}

/* ITEMS */
.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

/* BOTONES */
.filter-btn {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 20px;
    transition: 0.2s;
}

.filter-btn:hover {
    background: #f1f1f1;
}

/* DIVIDER */
.divider {
    width: 1px;
    height: 25px;
    background: #ddd;
}



/* BOTÓN BUSCAR */
.search-btn {
    border: none;
    background: white;
    color: #80808080;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INPUTS */
.filter-item select,
.filter-item input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    appearance: none;
}

/* CARRUSEL */
.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-container div::-webkit-scrollbar {
    display: none;
}

.carousel-container div {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* RESET COMPLETO DEL CHECKBOX */
.form-check-input {
    -webkit-appearance: none;
    appearance: none;
    
    width: 18px;
    height: 18px;
    
    border: 2px solid #444;
    border-radius: 4px;
    
    background-color: #fff;
    
    display: inline-block;
    position: relative;
    
    cursor: pointer;
}

/* CUANDO ESTÁ MARCADO */
.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

/* PALOMITA */
.form-check-input:checked::before {
    content: "✔";
    color: white;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 2px;
}

/* HOVER */
.form-check-input:hover {
    border-color: #000;
}

/* TEXTO */
.form-check-label {
    font-size: 14px;
    cursor: pointer;
}

/* RADIO (ZONA) */
.form-check-input[type="radio"] {
    border-radius: 50%;
}

/* PUNTO DEL RADIO */
.form-check-input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.prop-card {
    width: 260px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transition: 0.3s;
    flex-shrink: 0;
}

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

/* Imagen */
.prop-img img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

/* Body */
.prop-body {
    padding: 14px;
}

/* Precio */
.prop-price {
    font-weight: 700;
    font-size: 15px;
}

/* Icono */
.prop-icon {
    font-size: 18px;
    cursor: pointer;
}

/* Título */
.prop-title {
    font-size: 14px;
    font-weight: 600;
}

/* Ubicación */
.prop-location {
    font-size: 13px;
    color: #777;
}

/* Botón */
.prop-btn {
    border-radius: 8px;
    font-size: 13px;
    padding: 6px;
}


/* admin */
.hero-admin {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/chino.jpeg'); /* pon tu imagen */
    background-size: cover;
    background-position: center;
    height: 280px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.admin-stats {
    background: #e9ecf5;
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: -50px; /* efecto flotante */
}
.admin-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.2s ease;
}

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

.admin-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.admin-card .btn {
    border-radius: 10px;
    font-size: 14px;
    padding: 6px 16px;
}

.admin-card h4 {
    font-size: 28px;
    font-weight: bold;
}

/* FOOTER */
footer {
    background-color: #191531;
    color: #ccc;
    padding: 20px 0;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .search-bar {
        display: none;
    }
}