{% load static %}
{% load filtros_de_entorno %}

<!DOCTYPE html>
<html lang="en"> 
<head>
    <title>Finanzas</title>
    
    <!-- Meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
    <meta name="description" content="Finanzas - Portal de Gestión Financiera">
    <meta name="author" content="Celestino Rey" >    
    <link rel="shortcut icon" href="{% static 'images/favicon.ico' %}"> 
    
    <!-- FontAwesome JS-->
    <script defer src="{% static 'plugins/fontawesome/js/all.min.js' %}"></script>
    
    <!-- App CSS -->  
    <link id="theme-style" rel="stylesheet" href="{% static 'css/portal.css' %}">

    <!-- jQuery 
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    -->

    <style>
        .debug-banner {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
            color: white;
            padding: 12px 20px;
            text-align: center;
            font-weight: bold;
            font-size: 14px;
            border-bottom: 3px solid #d32f2f;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9998;
            animation: pulse-debug 2s infinite;
        }

        /* Ajustar body cuando hay debug banner */
        body.has-debug-banner {
            padding-top: 50px;
        }

        @keyframes pulse-debug {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.85;
            }
        }

        .debug-banner i {
            margin-right: 8px;
        }
    </style>
    {% block head %}{% endblock %}    
    {% block head %}{% endblock %}
 </head>

