.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111A19;
    color: #FFFBF5;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    display: none;
    backdrop-filter: blur(10px);
    border-top: 1px solid #022047;
}

.cookie-consent-banner.visible {
    display: block;
    animation: slideUp 0.5s ease-out;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
}

.cookie-text a {
    color: #FFF4DF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #809075;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-btn-accept {
    background-color: #284139;
    color: #FFFBF5;
}

.cookie-btn-accept:hover {
    background-color: #809075;
}

.cookie-btn-reject {
    background-color: #02132F;
    color: #FFFBF5;
}

.cookie-btn-reject:hover {
    background-color: #031B3B;
}

.cookie-btn-manage {
    background-color: #284139;
    color: #FFFBF5;
    border: 1px solid #284139;
}

.cookie-btn-manage:hover {
    background-color: #809075;
    color: #FFFBF5;
}

.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(79, 79, 79, 0.5); /* #4f4f4f con 50% de opacidad */
    display: none;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.cookie-preferences-modal.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

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

.preferences-content {
    background: #061120;
    color: #FCFBF7;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.preferences-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preferences-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #FCFBF7;
}

.close-preferences {
    background: none;
    border: none;
    color: #FCFBF7;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.cookie-type {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #051C3E;
    border-radius: 5px;
}

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

.cookie-type-title {
    font-weight: 600;
    font-size: 16px;
    color: #FCFBF7;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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: #262A3A;
    transition: .4s;
    border-radius: 24px;
}

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

input:checked + .toggle-slider {
    background-color: #193A30;
}

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

.cookie-type-description {
    font-size: 14px;
    color: #FCFBF7;
    margin-top: 10px;
}

.preferences-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.preferences-footer .cookie-btn {
    background-color: #294139;
    color: #FCFBF7;
    border: 1px solid #294139;
}

.preferences-footer .cookie-btn:hover {
    background-color: #79886F;
    color: #FCFBF7;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .preferences-content {
        width: 95%;
        padding: 20px;
    }
} 