/* ========== INTERPRETATION.CSS ========== */
/* Estilos específicos para interpretaciones de sueños */
/* Compatible con el styles.css limpio de dreamwise.pro */

/* ✅ CONTENEDOR PRINCIPAL DE INTERPRETACIÓN */
.interpretation-result {
    padding: 30px 0;
    animation: fadeInUp 0.6s ease-out;
}

.interpretation-result h3 {
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 92, 183, 0.2);
}

/* ✅ CONTENIDO DE LA INTERPRETACIÓN */
.interpretation-content {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 16px;
}

/* ✅ PÁRRAFOS NORMALES */
.interpretation-content p {
    margin-bottom: 18px;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.7;
}

/* ✅ TEXTO EN NEGRITA - ELEMENTOS DESTACADOS */
.interpretation-content strong {
    color: #8b5cb7;
    font-weight: 600;
}

/* ✅ DETECTAR Y FORMATEAR TÍTULOS DE SECCIONES */
/* Esto detectará patrones como "title">🔍 Main Symbols" */
.interpretation-content p:has-text('title">') {
    font-size: 1.2em;
    font-weight: 600;
    color: #6b46c1;
    margin: 30px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 183, 0.3);
    text-align: left;
}

/* ✅ ALTERNATIVA: Detectar títulos por contenido específico */
.interpretation-content p[data-section] {
    font-size: 1.2em;
    font-weight: 600;
    color: #6b46c1;
    margin: 30px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 183, 0.3);
    text-align: left;
}

/* ✅ ESTILOS PARA ELEMENTOS DE LISTA/SÍMBOLOS */
.interpretation-content p:not(:first-of-type):not([data-section]) {
    position: relative;
    padding-left: 20px;
}

.interpretation-content p:not(:first-of-type):not([data-section])::before {
    content: "•";
    color: #8b5cb7;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* ✅ SALUDO INICIAL - SIN BULLET */
.interpretation-content p:first-of-type {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 25px;
    padding-left: 0;
    text-align: left;
}

.interpretation-content p:first-of-type::before {
    display: none;
}

/* ✅ INFORMACIÓN DE CUOTAS */
.quota-info {
    margin-top: 25px;
    padding: 18px;
    background: rgba(139, 92, 183, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 183, 0.2);
}

.quota-info small {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.quota-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 183, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.quota-progress {
    height: 100%;
    background: linear-gradient(135deg, #8b5cb7 0%, #b8a0c7 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}

/* ✅ PIE DE INTERPRETACIÓN */
.interpretation-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 183, 0.2);
    text-align: center;
}

.interpretation-footer small {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

/* ✅ CUOTAS EXCEDIDAS */
.quota-exceeded {
    text-align: center;
    padding: 40px 20px;
}

.quota-exceeded h3 {
    color: #d97706;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.quota-exceeded p {
    color: #374151;
    margin-bottom: 25px;
    line-height: 1.6;
}

.upgrade-suggestion {
    background: rgba(139, 92, 183, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    border: 1px solid rgba(139, 92, 183, 0.2);
}

.upgrade-suggestion h4 {
    color: #8b5cb7;
    margin-bottom: 12px;
    font-size: 1.1em;
    font-weight: 600;
}

.upgrade-btn {
    background: linear-gradient(135deg, #8b5cb7 0%, #b8a0c7 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 183, 0.3);
}

/* ✅ ESTADO DE CARGA */
.loading-state {
    text-align: center;
    padding: 50px 20px;
    color: #6b7280;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 183, 0.3);
    border-top: 3px solid #8b5cb7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

/* ✅ ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ✅ RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .interpretation-result {
        padding: 20px 0;
    }
    
    .interpretation-result h3 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    
    .interpretation-content {
        font-size: 15px;
    }
    
    .interpretation-content p {
        margin-bottom: 16px;
        text-align: left;
    }
    
    .quota-info {
        padding: 15px;
        margin-top: 20px;
    }
    
    .upgrade-suggestion {
        padding: 20px;
        margin-top: 20px;
    }
    
    .upgrade-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .interpretation-result h3 {
        font-size: 1.1em;
    }
    
    .interpretation-content {
        font-size: 14px;
    }
    
    .interpretation-content p {
        padding-left: 15px;
        margin-bottom: 14px;
    }
}
/* Solución simple para ocultar asteriscos */
body {
    font-family: inherit;
}

/* Ocultar asteriscos reemplazando el texto */
* {
    visibility: visible;
}

/* Si el texto está en markdown o HTML, esto debería ocultar los asteriscos */
strong::before,
strong::after,
b::before,
b::after {
    content: "" !important;
}

