.tenenet-cookies-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #2c3e50;
    color: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: Arial, sans-serif;
    max-width: 350px;
    overflow: hidden;
}

/* Triángulo tipo globo */
.tenenet-cookies-banner::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #2c3e50;
}

.tenenet-cookies-content {
    padding: 20px;
}

.tenenet-cookies-content p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-size: 14px;
}

.tenenet-cookies-content a {
    color: #3498db;
    text-decoration: underline;
    font-weight: bold;
}

.tenenet-cookies-content a:hover {
    color: #2980b9;
}

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

.tenenet-cookies-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 12px;
    flex: 1;
    min-width: 70px;
}

.tenenet-cookies-accept {
    background: #27ae60;
    color: white;
}

.tenenet-cookies-accept:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.tenenet-cookies-reject {
    background: #e74c3c;
    color: white;
}

.tenenet-cookies-reject:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.tenenet-cookies-settings {
    background: #3498db;
    color: white;
}

.tenenet-cookies-settings:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Panel de ajustes centrado */
.tenenet-cookies-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tenenet-cookies-settings-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tenenet-cookies-settings-panel {
    background: white;
    color: #2c3e50;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.tenenet-cookies-settings-overlay.active .tenenet-cookies-settings-panel {
    transform: scale(1);
}

.tenenet-cookies-settings-panel h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 1.5em;
    text-align: center;
}

.tenenet-cookies-settings-options {
    margin: 20px 0;
}

.tenenet-cookies-settings-options label {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tenenet-cookies-settings-options label:hover {
    background: #e9ecef;
}

.tenenet-cookies-settings-options input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.tenenet-cookies-settings-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.tenenet-cookies-save {
    background: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    min-width: 120px;
}

.tenenet-cookies-save:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.tenenet-cookies-cancel {
    background: #95a5a6;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    min-width: 120px;
}

.tenenet-cookies-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.tenenet-cookies-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tenenet-cookies-close:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.tenenet-cookies-brand {
    text-align: center;
    margin-top: 15px;
    font-size: 11px;
    color: #bdc3c7;
    border-top: 1px solid #34495e;
    padding-top: 10px;
}

.tenenet-cookies-settings-panel .tenenet-cookies-brand {
    color: #7f8c8d;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

/* Animaciones */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.tenenet-cookies-banner {
    animation: slideInLeft 0.5s ease-out;
}

.tenenet-cookies-settings-panel {
    animation: slideInUp 0.3s ease-out;
}

/* Toast de confirmación */
.tenenet-cookies-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
}

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

/* Estilos para el campo de días en admin */
input[type="number"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="number"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tenenet-cookies-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .tenenet-cookies-banner::before {
        left: 20px;
    }
    
    .tenenet-cookies-settings-panel {
        margin: 20px;
        padding: 20px;
    }
    
    .tenenet-cookies-settings-buttons {
        flex-direction: column;
    }
    
    .tenenet-cookies-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tenenet-cookies-buttons {
        flex-direction: column;
    }
    
    .tenenet-cookies-content {
        padding: 15px;
    }
    
    .tenenet-cookies-settings-panel {
        padding: 15px;
    }
    
    .tenenet-cookies-toast {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}