.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--modal-color, rgba(24, 23, 23, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.2));
    border-radius: var(--border-radius-medium, 20px);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: cookie-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-slide-up {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cookie-consent.hiding {
    animation: cookie-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookie-slide-down {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(95, 158, 160, 0.1);
    /* Using primary color with transparency */
    color: var(--primary-color, rgba(95, 158, 160, 1));
    border-radius: var(--border-radius-small, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-icon i {
    font-size: 1.5rem;
}

.cookie-consent-text {
    flex-grow: 1;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color, rgba(255, 255, 255, 1));
}

.cookie-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-consent-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-small, 10px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.cookie-consent-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.5));
    color: var(--text-color, rgba(255, 255, 255, 1));
}

.cookie-consent-btn-secondary:hover {
    background: rgba(128, 128, 128, 0.1);
}

.cookie-consent-btn-primary {
    background: var(--primary-color, rgba(95, 158, 160, 1));
    color: #fff;
}

.cookie-consent-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
    .cookie-consent {
        bottom: 1rem;
        width: calc(100% - 2rem);
        padding: 1.25rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
        text-align: center;
    }
}