#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
}

body.has-cookie-banner {
    padding-bottom: 100px;
}
        /* Estilos para el banner de cookies - CORREGIDOS */
        #cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #2c3e50;
            color: white;
            padding: 15px 20px;
            box-shadow: 0 -2px 15px rgba(0,0,0,0.3);
            z-index: 9999;
            display: none;
            font-family: Arial, sans-serif;
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 15px;
        }

        .cookie-text {
            flex: 1;
            min-width: 250px;
            font-size: 14px;
            line-height: 1.4;
        }

        .cookie-text strong {
            color: #ecf0f1;
        }

        .cookie-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            font-size: 14px;
            transition: all 0.3s ease;
            min-width: 80px;
        }

        .cookie-accept {
            background: #27ae60;
            color: white;
        }

        .cookie-accept:hover {
            background: #219a52;
            transform: translateY(-1px);
        }

        .cookie-reject {
            background: #e74c3c;
            color: white;
        }

        .cookie-reject:hover {
            background: #c0392b;
            transform: translateY(-1px);
        }

        .cookie-policy {
            background: #3498db;
            color: white;
            text-decoration: none;
        }

        .cookie-policy:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        /* Estilos para el modal de políticas */
        .cookie-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            overflow-y: auto;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: white;
            margin: 40px auto;
            padding: 30px;
            border-radius: 8px;
            max-width: 700px;
            color: #333;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #7f8c8d;
            background: none;
            border: none;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            color: #34495e;
        }

        .modal-content h2 {
            color: #2c3e50;
            margin-bottom: 20px;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }

        .modal-content h3 {
            color: #34495e;
            margin: 20px 0 10px 0;
        }

        .modal-content p, .modal-content ul {
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .modal-content ul {
            padding-left: 20px;
        }

        .modal-content li {
            margin-bottom: 8px;
        }

        /* Asegurar que el contenido principal no se solape */
        body {
            margin: 0;
            padding: 0;
            /*padding-bottom: 80px; /* Espacio para el banner */
        }

        /* Estilos de ejemplo para el contenido */
        .main-content {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }