/* =====================================================
   PANEL USUARIO – INMOBILIARIA MARA CABRERA (REFERIDOS)
===================================================== */

.inmomara-dashboard,
.inmomara-form,
.inmomara-profile {
    max-width: 900px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
}

.inmomara-dashboard h2,
.inmomara-form h2,
.inmomara-profile h2 {
    margin-bottom: 20px;
}

/* -----------------------------------------------------
   CARDS
----------------------------------------------------- */
.inmomara-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* -----------------------------------------------------
   NIVEL / PROGRESO
----------------------------------------------------- */
.inmomara-nivel {
    position: relative;
}

.inmomara-nivel.bronce {
    border-left: 6px solid #cd7f32;
}

.inmomara-nivel.plata {
    border-left: 6px solid #9ca3af;
}

.inmomara-nivel.oro {
    border-left: 6px solid #facc15;
}

.inmomara-progress {
    background: #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    height: 14px;
    margin: 10px 0;
}

.inmomara-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    width: 0;
    transition: width 0.6s ease;
}

/* -----------------------------------------------------
   DINERO
----------------------------------------------------- */
.inmomara-amount {
    font-size: 28px;
    font-weight: bold;
    color: #16a34a;
}

/* -----------------------------------------------------
   ACCIONES
----------------------------------------------------- */
.inmomara-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inmomara-actions .button {
    text-decoration: none;
}

/* WhatsApp */
.inmomara-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}

.inmomara-whatsapp:hover {
    background: #1ebc57;
}

/* -----------------------------------------------------
   FORMULARIOS
----------------------------------------------------- */
.inmomara-form input[type="text"],
.inmomara-form input[type="number"],
.inmomara-form select,
.inmomara-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-top: 4px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

/* -----------------------------------------------------
   TABLAS PERFIL
----------------------------------------------------- */
.inmomara-profile table {
    margin-top: 10px;
}

.inmomara-profile th {
    background: #f3f4f6;
}

/* =====================================================
   ESTADOS DE INMUEBLES – USER
===================================================== */

.estado-enviado {
    color: #2563eb;
    font-weight: 600;
}

.estado-activo {
    color: #16a34a;
    font-weight: 600;
}

.estado-reservado {
    color: #f59e0b;
    font-weight: 600;
}

.estado-vendido {
    color: #22c55e;
    font-weight: 700;
}

.estado-no-viable {
    color: #dc2626;
    font-weight: 700;
}

/* Iconos SVG (opcional) */
.estado-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.estado-icon img,
.estado-icon svg {
    width: 16px;
    height: 16px;
}

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */
@media (max-width: 600px) {

    .inmomara-actions {
        flex-direction: column;
    }

    .inmomara-amount {
        font-size: 22px;
    }
}

