@charset "UTF-8";
 /* ESTILOS MEJORADOS PARA EL BANNER DE COOKIES */
        .cookies-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #ffffff;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
            z-index: 999999;
            padding: 25px 20px;
            font-family: 'Roboto', Arial, sans-serif;
        }

        .cookies-banner.show {
            display: block;
            animation: slideUp 0.4s ease-out;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cookies-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cookies-icon {
            font-size: 40px;
            flex-shrink: 0;
        }

        .cookies-content {
            flex: 1;
            min-width: 250px;
        }

        .cookies-title {
            font-size: 18px;
            font-weight: 700;
            color: #0b1833;
            margin: 0 0 8px 0;
        }

        .cookies-text {
            font-size: 14px;
            color: #555;
            margin: 0;
            line-height: 1.6;
        }

        .cookies-text a {
            color: #4fcad4;
            text-decoration: underline;
            font-weight: 500;
        }

        .cookies-text a:hover {
            color: #35b3bd;
        }

        .cookies-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .cookies-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .cookies-btn-accept {
            background: #4fcad4;
            color: #fff;
        }

        .cookies-btn-accept:hover {
            background: #35b3bd;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 202, 212, 0.4);
        }

        .cookies-btn-reject {
            background: #f5f7f7;
            color: #0b1833;
            border: 2px solid #ddd;
        }

        .cookies-btn-reject:hover {
            background: #e8eaea;
            border-color: #ccc;
        }

        .cookies-btn-config {
            background: transparent;
            color: #4fcad4;
            border: 2px solid #4fcad4;
        }

        .cookies-btn-config:hover {
            background: #4fcad4;
            color: #fff;
        }

        /* MODAL DE CONFIGURACIÓN */
        .cookies-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.7);
            z-index: 1000000;
            overflow-y: auto;
            padding: 20px;
        }

        .cookies-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cookies-modal-content {
            background: #fff;
            border-radius: 8px;
            max-width: 700px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: modalFadeIn 0.3s ease-out;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .cookies-modal-header {
            padding: 25px;
            border-bottom: 1px solid #eee;
            position: sticky;
            top: 0;
            background: #fff;
            z-index: 10;
        }

        .cookies-modal-title {
            font-size: 22px;
            font-weight: 700;
            color: #0b1833;
            margin: 0;
        }

        .cookies-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s;
        }

        .cookies-modal-close:hover {
            background: #f5f5f5;
            color: #333;
        }

        .cookies-modal-body {
            padding: 25px;
        }

        .cookie-category {
            margin-bottom: 25px;
            padding: 20px;
            background: #f9fafa;
            border-radius: 6px;
            border-left: 4px solid #4fcad4;
        }

        .cookie-category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .cookie-category-title {
            font-size: 16px;
            font-weight: 700;
            color: #0b1833;
            margin: 0;
        }

        .cookie-category-description {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin: 0;
        }

        /* TOGGLE SWITCH */
        .toggle-switch {
            position: relative;
            width: 50px;
            height: 26px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 26px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        .toggle-switch input:checked + .toggle-slider {
            background-color: #4fcad4;
        }

        .toggle-switch input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }

        .toggle-switch input:disabled + .toggle-slider {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .cookies-modal-footer {
            padding: 20px 25px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            background: #f9fafa;
            position: sticky;
            bottom: 0;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .cookies-container {
                flex-direction: column;
                align-items: flex-start;
            }

            .cookies-buttons {
                width: 100%;
            }

            .cookies-btn {
                flex: 1;
                min-width: 120px;
            }

            .cookies-modal-content {
                margin: 10px;
            }
        }

        /* BOTÓN FLOTANTE DE COOKIES */
        .cookies-float-button {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: #4fcad4;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            border: none;
            cursor: pointer;
            z-index: 999998;
            transition: all 0.3s ease;
            font-size: 28px;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: visible; 
        }

        .cookies-float-button.show {
            display: flex;
        }

        .cookies-float-button:hover {
            background: #35b3bd;
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(79, 202, 212, 0.4);
        }

        .cookies-float-button:active {
            transform: translateY(-2px);
        }

        /* Tooltip del botón flotante - CORREGIDO */
        .cookies-float-button::before {
            content: attr(data-tooltip);
            position: fixed;
            right: 70px;
    		top: auto;
   			bottom: 12px;
            background: #0b1833;
            color: #fff;
            padding: 10px 16px;
            border-radius: 6px;
            white-space: nowrap;
            font-size: 14px;
            line-height: 1.4;
            font-weight: 500;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
            transform: translateX(10px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            z-index: 999999;
            font-family: 'Roboto', Arial, sans-serif;
        }

        .cookies-float-button:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* Flecha del tooltip - CORREGIDA */
        .cookies-float-button::after {
            content: "";
            position: fixed;
            left: -7px;
    		top: auto;
    		bottom: 24px;
    		width: 0px !important;
            height: 0;
            border: 7px solid transparent;
            border-left-color: #0b1833;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
            transform: translateX(10px);
            z-index: 999999;
        }

        .cookies-float-button:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

        @media (max-width: 768px) {
            .cookies-float-button {
                width: 50px;
                height: 50px;
                font-size: 24px;
                bottom: 15px;
                right: 15px;
            }

            .cookies-float-button::before {
                display: none;
            }

            .cookies-float-button::after {
                display: none;
            }
        }