/* Estilos generales Dark Theme */
body {
    background-color: #0f172a; /* Slate 900 oscuro */
    color: #f8fafc;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card {
    background-color: #1e293b; /* Fondo de la tarjeta */
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    border: 1px solid #334155;
}

/* Estilo para los bloques de código (Textarea y Pre) */
.code-editor {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #e2e8f0;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 1.25rem;
    resize: none;
    width: 100%;
    height: 450px;
    transition: border-color 0.3s;
}

.code-editor:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Ocultar el scrollbar feo pero mantener funcionalidad */
.code-editor::-webkit-scrollbar { width: 8px; }
.code-editor::-webkit-scrollbar-track { background: #0f172a; }
.code-editor::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

/* Estilo del Botón Generate */
.btn-generate {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    transition: all 0.3s ease;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* Títulos de las columnas */
.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}
.text-input-title { color: #3b82f6; }
.text-output-title { color: #0ea5e9; }

/* Mantenemos el formato del texto de salida */
pre.code-editor {
    margin: 0;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
/* Ajuste sutil para el botón de copiar */
.btn-copy {
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn:hover i {
    color: #e2e8f0;
}