/* Agregar estos estilos al final del archivo */

/* Indicador de Plan */
.user-plan {
    position: absolute;
    top: 20px;
    right: 20px;
}

.plan-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.plan-free {
    background: #ffd93d;
    color: #333;
}

.plan-premium {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
}

/* Temas Predefinidos */
.predefined-topics {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.predefined-topics h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.topic-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .topic-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.topic-btn {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1em;
}

.topic-btn:hover {
    background: #e9ecef;
    border-color: #4ECDC4;
    transform: translateY(-2px);
}

.upgrade-prompt {
    text-align: center;
    font-style: italic;
    color: #666;
}

.upgrade-prompt a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: bold;
}

.upgrade-prompt a:hover {
    text-decoration: underline;
}

/* Sección Premium */
.premium-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 30px -20px -20px;
    padding: 40px 20px;
}

.premium-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.premium-card h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.premium-features li {
    padding: 8px 0;
    color: #333;
}

.pricing {
    margin: 25px 0;
}

.price {
    font-size: 2.5em;
    font-weight: bold;
    color: #FF6B6B;
}

.period {
    color: #666;
    font-size: 1.1em;
}

.btn-premium {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.premium-feature {
    text-align: center;
    font-style: italic;
    color: #FF6B6B;
    font-weight: bold;
    margin-top: 10px;
}

/* Contenido Premium */
.ai-generation {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ai-generation h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.topic-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.topic-input input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1em;
}

/* Mensajes temporales */
.temp-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}