/* ============================
   POPUP DE ÉXITO — FORMULARIO VENDER
   ============================ */

.success-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
}

.success-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.success-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(3px) !important;
}

.success-modal-content {
    position: relative !important;
    z-index: 2 !important;
    width: 90% !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 35px 30px !important;
    text-align: center !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25) !important;
    animation: successModalShow 0.3s ease-out !important;
}

@keyframes successModalShow {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Botón cerrar */
.success-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 30px;
    color: #777;
    cursor: pointer;
    transition: 0.2s;
}

.success-modal-close:hover {
    color: #222;
}

/* Check */
.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #43b649;
    border-radius: 50%;
    font-size: 35px;
}

/* Título */
.success-modal-content h2 {
    margin-bottom: 12px;
    font-size: 25px;
    font-weight: 700;
    color: #111;
}

/* Registro creado: #TC-XXXX */
.registro-creado {
    margin-bottom: 5px;
    font-size: 16px;
    color: #555;
}

.registro-creado span {
    display: inline-block;
    padding: 2px 7px;
    background: #fff1d6;
    color: #8a6416;
    border-radius: 4px;
    font-weight: 600;
}

/* Descripción */
.success-description {
    margin-bottom: 25px;
    font-size: 16px;
    color: #666;
}

/* Pregunta tasación */
.success-modal-content h3 {
    margin-bottom: 18px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

/* WhatsApp */
.success-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 320px;
    max-width: 100%;
    padding: 15px 25px;
    border-radius: 35px;
    background: #25D366;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.success-whatsapp-button:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.success-whatsapp-button i {
    font-size: 22px;
}