.cookielaw-banner {
    background-color: #7339ff !important;
    color: white !important;
    padding: 20px !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    font-family: 'Jost', sans-serif !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

.cookielaw-content {
    margin-bottom: 15px !important;
}

.cookielaw-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.cookielaw-header h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.cookielaw-close {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.cookielaw-message {
    margin: 0 0 15px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.cookielaw-banner a {
    color: white !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

.cookielaw-banner a:hover {
    color: #f5f5f5 !important;
}

/* Estilos para el panel de cookies */
.cookie-panel {
    display: none !important;
    margin-bottom: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 15px !important;
}

.cookie-panel.show {
    display: flex !important;
}

/* Estilos para panel horizontal por defecto */
.cookie-panel-horizontal {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.cookie-panel-horizontal .cookie-row {
    flex: 1 1 calc(25% - 10px) !important;
    min-width: 200px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.cookie-panel-horizontal .cookie-control {
    margin-top: 10px !important;
    align-self: flex-start !important;
}

.cookie-panel-horizontal .select-all-row {
    flex: 0 0 100% !important;
    justify-content: flex-end !important;
    margin-top: 5px !important;
}

.cookie-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 10px !important;
}

.cookie-info {
    flex: 1 !important;
    padding-right: 15px !important;
}

.cookie-info h3 {
    margin: 0 0 5px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.cookie-info p {
    margin: 0 !important;
    font-size: 13px !important;
    opacity: 0.9 !important;
}

.cookie-control {
    flex: 0 0 auto !important;
}

.select-all-row {
    background: transparent !important;
    justify-content: flex-end !important;
    padding: 0 !important;
}

.btn-select-all {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-select-all:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Estilos para los switches */
.cookie-switch {
    position: relative !important;
    display: inline-block !important;
    width: 40px !important;
    height: 22px !important;
}

.cookie-switch.disabled {
    opacity: 0.7 !important;
}

.cookie-switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.slider {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    transition: .4s !important;
}

.slider:before {
    position: absolute !important;
    content: "" !important;
    height: 16px !important;
    width: 16px !important;
    left: 3px !important;
    bottom: 3px !important;
    background-color: white !important;
    transition: .4s !important;
}

input:checked + .slider {
    background-color: white !important;
}

input:checked + .slider:before {
    background-color: #7339ff !important;
    transform: translateX(18px) !important;
}

.slider.round {
    border-radius: 34px !important;
}

.slider.round:before {
    border-radius: 50% !important;
}

.cookielaw-buttons {
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.cookielaw-buttons .btn {
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-transform: none !important;
    font-size: 14px !important;
    border: none !important;
}

.cookielaw-buttons .btn-primary {
    background-color: white !important;
    color: #7339ff !important;
}

.cookielaw-buttons .btn-primary:hover {
    background-color: #f5f5f5 !important;
}

.cookielaw-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.cookielaw-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

@media (min-width: 992px) {
    .cookielaw-banner {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    
    .cookielaw-content {
        flex: 1 !important;
        margin-bottom: 0 !important;
        margin-right: 20px !important;
    }
    
    /* Nuevos estilos para panel horizontal */
    .cookie-panel {
        display: none !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }
    
    .cookie-row {
        flex: 1 1 calc(25% - 10px) !important;
        min-width: 200px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .cookie-control {
        margin-top: 10px !important;
        align-self: flex-start !important;
    }
    
    .select-all-row {
        flex: 0 0 100% !important;
        justify-content: flex-end !important;
        margin-top: 5px !important;
    }
}

@media (max-width: 767px) {
    .cookielaw-banner {
        text-align: left !important;
        padding: 15px !important;
    }
    
    .cookie-panel-horizontal {
        flex-direction: column !important;
    }
    
    .cookie-panel-horizontal .cookie-row {
        width: 100% !important;
        min-width: 100% !important;
        flex-direction: row !important;
        margin-bottom: 8px !important;
    }
    
    .cookie-panel-horizontal .cookie-control {
        margin-top: 0 !important;
    }
    
    .cookie-row {
        flex-direction: row !important;
        text-align: left !important;
        padding: 10px !important;
    }
    
    .cookie-info {
        padding-right: 10px !important;
        margin-bottom: 0 !important;
        flex: 1 !important;
    }
    
    .cookielaw-buttons {
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
    }

    .cookie-info h3 {
        font-size: 14px !important;
    }

    .cookie-info p {
        font-size: 12px !important;
    }
} 