
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    border-top: 2px solid #e63946;
    font-family: 'Syne', sans-serif;
}

.cookies-banner.show {
    transform: translateY(0);
    animation: slideUp 0.5s ease-in-out forwards;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.cookies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookies-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookies-icon {
    background-color: #e63946;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3);
}

.cookies-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--dark);
    font-weight: 700;
}

.cookies-content {
    margin-bottom: 20px;
}

.cookies-content p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: var(--dark);
}

.cookies-options {
    display: none;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #e63946;
}

.cookies-options.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.cookie-type:last-child {
    margin-bottom: 0;
}

.cookie-check {
    display: flex;
    align-items: center;
}

.cookie-check input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #e63946;
}

.cookie-check label {
    font-weight: 600;
    cursor: pointer;
    color: #1d3557;
}

.tooltip {
    font-size: 14px;
    color: #6c757d;
    max-width: 60%;
}

.cookies-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Syne', sans-serif;
}

.btn-cookie.btn-primary {
    background-color: #e63946;
    color: white;
    border: 2px solid #e63946;
}

.btn-cookie.btn-primary:hover {
    background-color: #d62f3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.btn-cookie.btn-secondary {
    background-color: #f1faee;
    color: #1d3557;
    border: 2px solid #f1faee;
}

.btn-cookie.btn-secondary:hover {
    background-color: #e4f1e6;
    transform: translateY(-2px);
}

.btn-cookie.btn-outline {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-cookie.btn-outline:hover {
    background-color: var(--dark);
    color: white;
    transform: translateY(-2px);
}

.cookies-footer {
    text-align: center;
    margin-top: 10px;
}

.privacy-link {
    color:var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #e63946;
    text-decoration: underline;
}

/* Elementos temáticos de construcción */
.cookies-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 15px;
    background-color: #e63946;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    display: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .cookies-header h3 {
        font-size: 18px;
    }
    
    .cookies-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-cookie {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .tooltip {
        max-width: 100%;
        font-size: 12px;
    }
    
    .cookie-type {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tooltip {
        margin-top: 5px;
        margin-left: 28px;
    }
}

/* Animaciones de temática de construcción */
@keyframes hammer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
}

.cookies-icon i {
    animation: hammer 2s ease-in-out infinite;
    transform-origin: bottom center;
}

.cookie-save-btn {
    margin-top: 15px;
    text-align: center;
} 